# seas-logger **Repository Path**: neeke/seas-logger ## Basic Information - **Project Name**: seas-logger - **Description**: An effective,fast,stable log package for PHP.http://pecl.php.net/package/SeasLog - **Primary Language**: PHP - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 14 - **Forks**: 2 - **Created**: 2018-05-18 - **Last Updated**: 2021-04-07 ## Categories & Tags **Categories**: logging **Tags**: None ## README # SeasLogger ## An effective,fast,stable log package for PHP base [SeasLog](https://github.com/SeasX/SeasLog) [![Build Status](https://travis-ci.org/SeasX/seas-logger.svg?branch=master)](https://travis-ci.org/SeasX/seas-logger) This library implements the [PSR-3](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-3-logger-interface.md) and [PSR-4](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-4-autoloader.md) ### Installation Install the latest version with ```bash $ composer require seasx/seas-logger ``` ### Basic Usage ```php warning('Hello'); $logger->error('SeasLogger'); ``` ### configuration for laravel/lumen >=5.6 add seaslog configuration in config/logging.php ```php 'channels' => [ ... 'seaslog' => [ 'driver' => 'custom', 'via' => \Seasx\SeasLogger\Logger::class, 'path' => '/path/to/logfile', ], ... ] ``` edit .env file to use seaslog ```php LOG_CHANNEL=seaslog ``` ### See more [https://github.com/SeasX/SeasLog](https://github.com/SeasX/SeasLog)