Skip to content

Toolbar logs tab - not logging #1651

Description

@plegenza

name: Toolbar not displaying logs in Logs tab


After change threshold in Config/Logger.php to 9, and log somethink in app Toolbar Logs tab is empty.
Propably array with logs is not returned in collector.

In system/Debug/Toolbar/Collectors/Logs.php in Logs class property $data is set fine, it's array with logs. But method collectLogs() not returning array and it's required in method display().

CodeIgniter 4 version
CodeIgniter4 alpha4

Affected module(s)
Toolbar, Logging

Expected behavior, and steps to reproduce if appropriate
Change Config/Logger.php threshold to 9.
Add simple log by log_message().
See in toolbar Logs tab.

Context

  • OS: Windows 7
  • Web server XAMPP
  • PHP version 7.2.4

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions