PHPackages                             c00/log - 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. c00/log

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

c00/log
=======

Small logging framework

2.0.10(7y ago)0527MITPHP

Since Nov 11Pushed 7y ago1 watchersCompare

[ Source](https://github.com/c00/log)[ Packagist](https://packagist.org/packages/c00/log)[ RSS](/packages/c00-log/feed)WikiDiscussions master Synced 2w ago

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

log
===

[](#log)

This is a very experimental logging 'framework'. It currently can log to screen / stdError and SQL.

Documentation is lacking, so unless you're interested in seeing how I code, this is probably not for you.

It has the potential to easily log to different channels (DB, on screen, stdError, etc).

Usage
=====

[](#usage)

```
Log::init();
Log::debug("A debug message");
Log::error("Something went wrong!");

echo Log::getLogForView()->toString();

```

Will output:

```
Url: http://example.com
IP: 127.0.0.1
ID: request_383b556e
Date: 2016-11-11 03:31:02
---------------
2016-11-11 03:31:02 DEBUG: A debug message
    D:\www\log\test\LogTest.php line: 19
2016-11-11 03:31:02 ERROR: Something went wrong!
    D:\www\log\test\LogTest.php line: 20

```

todo
====

[](#todo)

Among other things:

- Give options on init to setup properly
- Add mysql channel
- Allow reading from mysql db

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity73

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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

Every ~37 days

Total

26

Last Release

2586d ago

Major Versions

0.6.8 → 2.0.02018-12-03

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6259056?v=4)[Coo van Leeuwen](/maintainers/c00)[@c00](https://github.com/c00)

---

Top Contributors

[![c00](https://avatars.githubusercontent.com/u/6259056?v=4)](https://github.com/c00 "c00 (14 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/c00-log/health.svg)

```
[![Health](https://phpackages.com/badges/c00-log/health.svg)](https://phpackages.com/packages/c00-log)
```

###  Alternatives

[psr/log

Common interface for logging libraries

10.4k1.2B10.9k](/packages/psr-log)[open-telemetry/api

API for OpenTelemetry PHP.

1938.5M263](/packages/open-telemetry-api)[open-telemetry/sdk

SDK for OpenTelemetry PHP.

2326.5M317](/packages/open-telemetry-sdk)[illuminated/console-logger

Logging and Notifications for Laravel Console Commands.

8676.7k](/packages/illuminated-console-logger)

PHPackages © 2026

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