packfire / logger
A standard logger that implements Psr/Log
Installs: 1 145
Dependents: 1
Suggesters: 0
Security: 0
Stars: 2
Watchers: 3
Forks: 0
Open Issues: 0
Requires
- php: >=5.3.0
- psr/log: 1.0.*
This package is not auto-updated.
Last update: 2021-05-23 22:20:05 UTC
README
#Packfire Logger
Logger provides simplest log file implementation of the LoggerInterface
provided by PHP Framework Interop Group .
In this library, Packfire\Logger\File
is provided to write log entries to a file based on the interface provided by Psr\Log\LoggerInterface
.
<?php use Packfire\Logger\File as Logger; $logger = new Logger('app.log'); $logger->info('Setting up the application');