PHPackages                             rocassis/nanolog - 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. rocassis/nanolog

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

rocassis/nanolog
================

Basic Lib for generate logs of system manually or from exception and errors

v1.1.0(5y ago)07MITPHP

Since Oct 10Pushed 5y ago1 watchersCompare

[ Source](https://github.com/rocassis/nanolog)[ Packagist](https://packagist.org/packages/rocassis/nanolog)[ Docs](https://github.com/rocassis/)[ RSS](/packages/rocassis-nanolog/feed)WikiDiscussions master Synced 5d ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

nanolog
=======

[](#nanolog)

To use in your projetc: composer require rocassis/nanolog

Be sure your folder has permission to write files.

Basic Lib for generate logs of system manually or from exception and errors.

You can custom the path and the name of the log file, eg:

$logFileName = 'log\_' . date('d\_m\_Y') . '.txt'; $nanoLog = new NanoLog($logFileName);

Has functions to log exceptions, custom logs, eg: $nanoLog-&gt;log\_exception($e); $nanoLog-&gt;manual\_log($e-&gt;getMessage(), 'Exception', $e-&gt;getFile(), $e-&gt;getLine(), $e-&gt;getCode(), $e-&gt;getTrace()); $nanoLog-&gt;log('Custom log message', \['code' =&gt; $e-&gt;getCode(), 'file' =&gt;$e-&gt;getFile(), 'line' =&gt; $e-&gt;getLine(), 'trace' =&gt; $e-&gt;getTrace()\]);

Have functions to handle erros e exceptions and automatic logs theses.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

2044d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4118514?v=4)[Robert Carneiro de Assis](/maintainers/rocassis)[@rocassis](https://github.com/rocassis)

---

Top Contributors

[![rocassis](https://avatars.githubusercontent.com/u/4118514?v=4)](https://github.com/rocassis "rocassis (13 commits)")

---

Tags

loglogs

### Embed Badge

![Health badge](/badges/rocassis-nanolog/health.svg)

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

###  Alternatives

[analog/analog

Fast, flexible, easy PSR-3-compatible PHP logging package with dozens of handlers.

3451.5M24](/packages/analog-analog)[jackiedo/log-reader

An easy log reader and management tool for Laravel

151376.5k4](/packages/jackiedo-log-reader)[kabbouchi/laravel-ward

25364.1k1](/packages/kabbouchi-laravel-ward)[facile-it/sentry-module

This module allows integration of Sentry Client into laminas and mezzio

19372.5k](/packages/facile-it-sentry-module)[phptek/sentry

Sentry.io integration for SilverStripe. Binds Sentry.io to SilverStripe's error &amp; exception handling subsystem.

15203.5k3](/packages/phptek-sentry)[schuhwerk/php-error-log-viewer

A single-file GUI for your php log files which groups similar errors. Written in PHP and Vue.js.

457.9k](/packages/schuhwerk-php-error-log-viewer)

PHPackages © 2026

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