mirror of
https://github.com/Seldaek/monolog.git
synced 2026-04-26 08:05:53 +03:00
[PR #50] [CLOSED] Functions to disable temporarily the logging. #903
Labels
No labels
Bug
Documentation
Feature
Needs Work
Support
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/monolog#903
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Seldaek/monolog/pull/50
Author: @rafacouto
Created: 12/29/2011
Status: ❌ Closed
Base:
master← Head:patch-1📝 Commits (2)
2f38f21Functions to disable temporally the logging7cf4432Patch for the patch (sorry, it was edited in the air via github): Now, $enabled is private field of class (not static).📊 Changes
1 file changed (+29 additions, -0 deletions)
View changed files
📝
src/Monolog/Logger.php(+29 -0)📄 Description
It might be useful within controled loops when a suboperation makes logging and you could not deactivate it. For example:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.