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

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

marciodojr/simple-logger
========================

Simple psr3 Logger. Writes to log using PHP error\_log.

v1.0.2(8y ago)011GPL-3.0PHP

Since Mar 17Pushed 8y ago1 watchersCompare

[ Source](https://github.com/marciodojr/simple-logger)[ Packagist](https://packagist.org/packages/marciodojr/simple-logger)[ RSS](/packages/marciodojr-simple-logger/feed)WikiDiscussions master Synced yesterday

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

Simple PSR-3 Logger
===================

[](#simple-psr-3-logger)

Description
-----------

[](#description)

Just write messages to log using PHP `error_log` in the format:

Log\[*level*\]: *message*

Example:

Log\[error\]: Resource not created

How to install
--------------

[](#how-to-install)

```
composer require "marciodojr/simple-logger"

```

How to use
----------

[](#how-to-use)

```
use Mdojr\Logger\SimpleLogger;
use Psr\Log\LogLevel;

$logger = new SimpleLogger();

$logger->log(LogLevel::ERROR, 'my log message'); // Log[error]: my log message
$logger->emergency(
    'emergency message {placeholder}',
    ['placeholder' => 'with placeholders']
); // Log[emergency]: emergency message with placeholders

// ... any other log level specified by psr-3
```

How to test
-----------

[](#how-to-test)

```
    composer test

```

PSR-3 specification
-------------------

[](#psr-3-specification)

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity65

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

Total

3

Last Release

3026d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4480634?v=4)[Márcio Dias](/maintainers/marciodojr)[@marciodojr](https://github.com/marciodojr)

---

Top Contributors

[![marciodojr](https://avatars.githubusercontent.com/u/4480634?v=4)](https://github.com/marciodojr "marciodojr (3 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[sentry/sentry

PHP SDK for Sentry (http://sentry.io)

1.9k240.0M315](/packages/sentry-sentry)[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.6k38.2k](/packages/matomo-matomo)[illuminate/log

The Illuminate Log package.

6225.0M603](/packages/illuminate-log)[tempest/framework

The PHP framework that gets out of your way.

2.2k31.1k12](/packages/tempest-framework)[api-platform/metadata

API Resource-oriented metadata attributes and factories

244.5M182](/packages/api-platform-metadata)[pagemachine/typo3-formlog

Form log for TYPO3

23233.9k8](/packages/pagemachine-typo3-formlog)

PHPackages © 2026

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