rocketphp / logger
Log to file - PSR Log interface
Installs: 14
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Language:HTML
Requires
- php: >=5.5
- psr/log: ~1.0
Requires (Dev)
- phpdocumentor/phpdocumentor: 2.*
- phpunit/phpunit: ~4.0
This package is not auto-updated.
Last update: 2024-11-13 10:41:58 UTC
README
RocketPHP\Logger
uses the PSR Log interface to log data to a static file.
To log data – use the emergency, alert, critical, error, warning, notice, info and debug methods.
use RocketPHP\Logger as Logger; $logger = new Logger( 'log', Logger::CRITICAL ); $logger->emergency('Logged'); $logger->warning('NOT logged');
- File issues at https://github.com/rocketphp/logger/issues
- Documentation is at http://rocketphp.io/logger