PHPackages                             themeplate/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. themeplate/logger

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

themeplate/logger
=================

Opinionated logging structure

v2.3.0(1y ago)0192GPL-3.0-onlyPHPPHP ^8.2

Since Apr 15Pushed 1y ago1 watchersCompare

[ Source](https://github.com/ThemePlate/Logger)[ Packagist](https://packagist.org/packages/themeplate/logger)[ RSS](/packages/themeplate-logger/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (3)Versions (12)Used By (0)

ThemePlate Logger
=================

[](#themeplate-logger)

Usage
-----

[](#usage)

```
use ThemePlate\Logger;

$logger = new Logger( 'mylogs', 'path/to/save' );

$logger->channel( 'api' )->info( 'READY!' );
$logger->channel( 'app' )->info( 'INITIALIZED!' );
```

`path/to/save/mylogs/[year]/[month]/[day]/[channel].log`

### new Logger( $folder\_name, $base\_path )

[](#new-logger-folder_name-base_path-)

- **$folder\_name** *(string)(Optional)* Default `logs`
- **$base\_path** *(string)(Optional)* Default `WP_CONTENT_DIR`

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance46

Moderate activity, may be stable

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity67

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 ~120 days

Recently: every ~102 days

Total

10

Last Release

411d ago

Major Versions

v1.4.0 → v2.0.02024-02-17

PHP version history (3 changes)v1.0.0PHP ^7.4|^8.0

v1.4.0PHP ^7.4|^8.2

v2.0.0PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/91095d431958c79a7384d515efec2686ca3cd1e1e1a5a42b680309b8e855355a?d=identicon)[kermage](/maintainers/kermage)

---

Top Contributors

[![kermage](https://avatars.githubusercontent.com/u/8350223?v=4)](https://github.com/kermage "kermage (36 commits)")

---

Tags

loggerloggingwordpress

### Embed Badge

![Health badge](/badges/themeplate-logger/health.svg)

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

###  Alternatives

[rollbar/rollbar

Monitors errors and exceptions and reports them to Rollbar

33723.7M82](/packages/rollbar-rollbar)[illuminate/log

The Illuminate Log package.

6224.3M518](/packages/illuminate-log)[illuminated/console-logger

Logging and Notifications for Laravel Console Commands.

8674.9k](/packages/illuminated-console-logger)[alleyinteractive/logger

A Monolog-based logging tool for WordPress. Supports storing log message in a custom post type or in individual posts and terms.

30297.5k1](/packages/alleyinteractive-logger)

PHPackages © 2026

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