- Notifications
You must be signed in to change notification settings - Fork9
An effective,fast,stable log package for PHP.
License
NotificationsYou must be signed in to change notification settings
SeasX/seas-logger
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
An effective,fast,stable log package for PHP baseSeasLog
This library implements thePSR-3andPSR-4
Install the latest version with
$ composer require seasx/seas-logger
<?phpuseSeasx\SeasLogger\Logger;$logger =newLogger();// add records to the log$logger->warning('Hello');$logger->error('SeasLogger');
add seaslog configuration in config/logging.php
'channels' => [ ...'seaslog' => ['driver' =>'custom','via' => \Seasx\SeasLogger\Logger::class,'path' =>'/path/to/logfile', ], ...]
edit .env file to use seaslog
LOG_CHANNEL=seaslog
About
An effective,fast,stable log package for PHP.
Topics
Resources
License
Stars
Watchers
Forks
Packages0
No packages published