PHPackages                             wxxiong6/yii-seaslog - 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. wxxiong6/yii-seaslog

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

wxxiong6/yii-seaslog
====================

Yii2日志模块使用Seaslog

1.0.0(6y ago)48MITPHPPHP &gt;=5.4

Since Jul 25Pushed 6y agoCompare

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

READMEChangelog (1)DependenciesVersions (2)Used By (0)

yii2-seasLog extension
======================

[](#yii2-seaslog-extension)

使用SeasLog高效日志扩展替换Yii2框架的日志模块，使其提高写日志效率。只需配置就可以实现。

SeasLog扩展

Requirements
------------

[](#requirements)

- Yii2
- PHP &gt;=5.4
- ext-seaslog installed

Installation
------------

[](#installation)

```
composer require wxxiong6/yii-seaslog:"1.0.0"
```

Usage
-----

[](#usage)

main.php

```
    'log' => [
            'traceLevel' => YII_DEBUG ? 3 : 0,
            'targets' => [
                'default' => [
                    'class' => 'wxxiong6\yii\seaslog\Yii2SeasLog',
                    'levels' => ['trace', 'info', 'error', 'warning'],
                    'logFile' => 'backend/runtime/',
                    'logVars' => [],
                ],
            ],
        ],
```

为了跟yii2日志格式一致,修改php.ini seaslog日志格式

```
seaslog.default_template = %T %M
```

Changelog
---------

[](#changelog)

##### Release 1.0 - Changelog

[](#release-10---changelog)

- Official stable release

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2485d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c1cd36591353b9ccb34c642f0f851fcc3e2987758ef17323dc84a19b29e61b76?d=identicon)[wxxiong6](/maintainers/wxxiong6)

---

Tags

seaslogyii-seaslogyii2-seaslog

### Embed Badge

![Health badge](/badges/wxxiong6-yii-seaslog/health.svg)

```
[![Health](https://phpackages.com/badges/wxxiong6-yii-seaslog/health.svg)](https://phpackages.com/packages/wxxiong6-yii-seaslog)
```

###  Alternatives

[psr/log

Common interface for logging libraries

10.4k1.2B9.2k](/packages/psr-log)[itsgoingd/clockwork

php dev tools in your browser

5.9k27.6M94](/packages/itsgoingd-clockwork)[graylog2/gelf-php

A php implementation to send log-messages to a GELF compatible backend like Graylog2.

41838.2M138](/packages/graylog2-gelf-php)[bugsnag/bugsnag-psr-logger

Official Bugsnag PHP PSR Logger.

32132.5M2](/packages/bugsnag-bugsnag-psr-logger)[consolidation/log

Improved Psr-3 / Psr\\Log logger based on Symfony Console components.

15462.2M7](/packages/consolidation-log)[datadog/php-datadogstatsd

An extremely simple PHP datadogstatsd client

19124.6M15](/packages/datadog-php-datadogstatsd)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
