PHPackages                             raylin666/logger - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Logging &amp; Monitoring](/categories/logging)
4. /
5. raylin666/logger

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

raylin666/logger
================

Log service component

v1.0.0(4y ago)04MITPHPPHP &gt;=7.2

Since Jun 26Pushed 4y ago1 watchersCompare

[ Source](https://github.com/raylin666/php-logger)[ Packagist](https://packagist.org/packages/raylin666/logger)[ RSS](/packages/raylin666-logger/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (2)Versions (2)Used By (0)

日志服务
====

[](#日志服务)

[![GitHub release](https://camo.githubusercontent.com/52f88c23b03eea26cbc52cb9353d00d4555c558d8b698c6982154989f68a63bc/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f7261796c696e3636362f6c6f676765722e737667)](https://github.com/raylin666/logger/releases)[![PHP version](https://camo.githubusercontent.com/99d1017576abbac1d0d67c24b37a9f0212851a5707b26ef1918025119ccd5ed3/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253230372e302d6f72616e67652e737667)](https://github.com/php/php-src)[![GitHub license](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](#LICENSE)

### 环境要求

[](#环境要求)

- PHP &gt;=7.2

### 安装说明

[](#安装说明)

```
composer require "raylin666/logger"

```

### 使用方式

[](#使用方式)

继承 monolog/monolog 扩展包

最简单的文件日志存储调用方式：

```
