Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Toolbar logs tab - not logging #1651

Closed
plegenza opened this issue Jan 4, 2019 · 0 comments
Closed

Toolbar logs tab - not logging #1651

plegenza opened this issue Jan 4, 2019 · 0 comments

Comments

@plegenza
Copy link

plegenza commented Jan 4, 2019


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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant