Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

An effective,fast,stable log package for PHP.

License

NotificationsYou must be signed in to change notification settings

SeasX/seas-logger

Repository files navigation

An effective,fast,stable log package for PHP baseSeasLog

Build StatusScrutinizer Code QualityCode CoverageCode Intelligence StatusLatest Stable VersionTotal DownloadsLicense

This library implements thePSR-3andPSR-4

Installation

Install the latest version with

$ composer require seasx/seas-logger

Basic Usage

<?phpuseSeasx\SeasLogger\Logger;$logger =newLogger();// add records to the log$logger->warning('Hello');$logger->error('SeasLogger');

configuration for laravel/lumen >=5.6

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

See more

https://github.com/SeasX/SeasLog


[8]ページ先頭

©2009-2025 Movatter.jp