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

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

zf-metal/log
============

Modulo de logs para Zend Framework 3

1.1.5(7y ago)17827MITPHPPHP &gt;=5.6

Since Feb 14Pushed 7y ago3 watchersCompare

[ Source](https://github.com/zf-metal/log)[ Packagist](https://packagist.org/packages/zf-metal/log)[ Docs](https://github.com/cincarnato)[ RSS](/packages/zf-metal-log/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependencies (2)Versions (8)Used By (7)

ZfMetal\\Log
============

[](#zfmetallog)

Dependencies
------------

[](#dependencies)

- zendframework/zend-log
- zf-metal/commons

Default path
------------

[](#default-path)

proyectPath/logs

Config
------

[](#config)

Add a file config (ex: zfmetal-log.global.php) in config/autoload.

```
$date = new \DateTime();
return[
    'zf-metal-log.options' => [
        'log_file' => './logs/' . $date->format('Y-m-d') . '.log',
        'filter' => \Zend\Log\Logger::INFO,
    ]
];

```

Service Manager
---------------

[](#service-manager)

`$container->get('zf-metal.log');`

OR

`$container->get(\ZfMetal\Log\Log::class);`

Plugin Controller
-----------------

[](#plugin-controller)

`$this->logger()`

Facade
------

[](#facade)

`Logger::method();`

Hot to use
----------

[](#hot-to-use)

- `$this->logger()->emerg($message);`
- `$this->logger()->alert($message);`
- `$this->logger()->crit($message);`
- `$this->logger()->err($message);`
- `$this->logger()->warn($message);`
- `$this->logger()->notice($message);`
- `$this->logger()->info($message);`
- `$this->logger()->debug($message);`

By Facade

- `Logger::emerg($message);`
- `Logger::alert($message);`
- `Logger::crit($message);`
- `Logger::err($message);`
- `Logger::warn($message);`
- `Logger::notice($message);`
- `Logger::info($message);`
- `Logger::debug($message);`

Log Exception (Message, File, Line, Trace )
-------------------------------------------

[](#log-exception-message-file-line-trace-)

- `$this->logger()->exception($exception);`
- `Logger::exception($exception);`

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity63

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

Recently: every ~166 days

Total

6

Last Release

2756d ago

Major Versions

0.0.2 → 1.0.02018-02-25

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7002030?v=4)[Cristian Incarnato](/maintainers/cincarnato)[@cincarnato](https://github.com/cincarnato)

---

Top Contributors

[![cincarnato](https://avatars.githubusercontent.com/u/7002030?v=4)](https://github.com/cincarnato "cincarnato (1 commits)")

---

Tags

zf3

### Embed Badge

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

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

###  Alternatives

[facile-it/sentry-module

This module allows integration of Sentry Client into laminas and mezzio

19393.4k](/packages/facile-it-sentry-module)[jhuet/zdt-logger-module

A ZF3 module to log data using Zend\\Log and write them to ZendDeveloperTools toolbar.

1765.7k4](/packages/jhuet-zdt-logger-module)[davidhavl/dherrorlogging

Full featured error logging module for ZF2/ZF3 application

1924.6k](/packages/davidhavl-dherrorlogging)[los/loslog

LosLog provides some log utility

1651.2k2](/packages/los-loslog)[snapshotpl/zf-snap-php-debug-bar

PHP Debug Bar module for Zend Framework 2

3026.1k](/packages/snapshotpl-zf-snap-php-debug-bar)

PHPackages © 2026

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