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

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

naas/log
========

Logging class

v1.0.2(7y ago)084MITPHPPHP &gt;=5.3.0

Since Apr 12Pushed 7y ago1 watchersCompare

[ Source](https://github.com/nunoarmando/log)[ Packagist](https://packagist.org/packages/naas/log)[ Docs](http://www.nunoserrano.com)[ RSS](/packages/naas-log/feed)WikiDiscussions master Synced 4w ago

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

README
======

[](#readme)

---

**naas/log** is a simple logging class

Installation and so on...

Install with [composer](http://getcomposer.org/download)

```
{
    "require": {
        "naas/log": "dev-master"
    }
}
```

Example
-------

[](#example)

You need to include the Autoload.php and create a page class.

```
require_once __DIR__ . '/library/Autoload.php';

// You may use thru a factory pattern
$log = LogFactory::create();
$log->logIt('Type of log', 'Log message...');
$log->logIt('Type of error', 'Error message...', false);
$log->logIt('Type of error in other file', 'Error message...', false, 'err');

// Or use it by object creation
$log = new Log();
$log->logIt('Type of log', 'Log message...');
$log->logIt('Type of error', 'Error message...', false);
$log->logIt('Type of error in other file', 'Error message...', false, 'err');

// Or use it thru static methods
Log::logIt('Type of log', 'Log message...');
Log::logIt('Type of error', 'Error message...', false);
Log::logIt('Type of error in other file', 'Error message...', false, 'err');

// to check after...
```

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

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

Total

4

Last Release

2639d ago

Major Versions

v0.5 → v1.0.02017-04-12

### Community

Maintainers

![](https://www.gravatar.com/avatar/238df8531051c7da3e5fc9d6a254fb0ddf3d9a2b8a5694b1a525152f34afe208?d=identicon)[naas](/maintainers/naas)

---

Top Contributors

[![nunoarmando](https://avatars.githubusercontent.com/u/16233525?v=4)](https://github.com/nunoarmando "nunoarmando (9 commits)")

---

Tags

log

### Embed Badge

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

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

###  Alternatives

[monolog/monolog

Sends your logs to files, sockets, inboxes, databases and various web services

21.4k997.8M7.9k](/packages/monolog-monolog)[psr/log

Common interface for logging libraries

10.4k1.2B10.9k](/packages/psr-log)[symfony/monolog-bundle

Symfony MonologBundle

2.9k258.2M1.7k](/packages/symfony-monolog-bundle)[spatie/laravel-activitylog

A very simple activity logger to monitor the users of your website or application

5.9k50.2M444](/packages/spatie-laravel-activitylog)[sentry/sentry

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

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

Laravel SDK for Sentry (https://sentry.io)

1.3k122.6M186](/packages/sentry-sentry-laravel)

PHPackages © 2026

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