PHPackages                             chenhakim/seaslog-module - 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. chenhakim/seaslog-module

ActiveSeaslog-extension[Logging &amp; Monitoring](/categories/logging)

chenhakim/seaslog-module
========================

seaslog扩展日志记录实现

01361PHP

Since Jun 26Pushed 8y agoCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

seaslog模块
=========

[](#seaslog模块)

安装
--

[](#安装)

打开 `composer.json` 找到或创建 `repositories` key，添加VCS资源库。

```
	// ...
	"repositories": [
		// ...
		{
			"type": "vcs",
			"url": "https://github.com/chenhakim/seaslog-module.git"
		}
	],
	// ...

```

添加依赖包。

```
composer require chenhakim/seaslog-module dev-master

```

使用
--

[](#使用)

- seaslog调用

1、配置 在项目中定义全局变量

```
defined('SEASLOG_PATH') or define('SEASLOG_PATH', '/home/www/log/项目名称/'); // 项目日志目录

```

2、后台调用

```
    \Module\SeasLog\SeasLog::record($level, $message, $extra = array());

```

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/5c68729735077806dd9400fdf7b2af3ed37d89acf25321fd7f06c832323f33c9?d=identicon)[chenhakim](/maintainers/chenhakim)

### Embed Badge

![Health badge](/badges/chenhakim-seaslog-module/health.svg)

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

###  Alternatives

[psr/log

Common interface for logging libraries

10.4k1.2B9.1k](/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.2M137](/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)
