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

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

aatis/logger
============

Logger of Aatis

1.0.2(11mo ago)0781PHP

Since Dec 17Pushed 10mo ago1 watchersCompare

[ Source](https://github.com/BatMaxou/aatis-logger)[ Packagist](https://packagist.org/packages/aatis/logger)[ RSS](/packages/aatis-logger/feed)WikiDiscussions main Synced yesterday

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

Aatis Logger
============

[](#aatis-logger)

Installation
------------

[](#installation)

```
composer require aatis/logger
```

Usage
-----

[](#usage)

### Requirements

[](#requirements)

By default the log file is set to `var/app.log` and the timezone is set to `Europe/Paris` but you can change them by setting the `LOG_PATH` and `TIMEZONE` environment variables.

### Basic method

[](#basic-method)

Choose a `LogLevel` for the message you want to log and pass the message with it context.

Your can include variable into your message with the following syntax : `{variable}`

```
    $var = 'set';

    $logger->log(LogLevel::INFO, 'Logger is {example} !', ['example' => $var]);

    // Output : [14-01-2024 22:06:12] INFO      Logger is set !
```

### Specific methods

[](#specific-methods)

You can use the following methods to log a message with a specific level of log.

Like the basic method, each ones take the message and the context of it as parameters.

```
    $logger->info('Info message');              // Output : [14-01-2024 22:06:12] INFO      Info message
    $logger->notice('Notice message');          // Output : [14-01-2024 22:06:12] NOTICE    Notice message
    $logger->warning('Warning message');        // Output : [14-01-2024 22:06:12] WARNING   Warning message
    $logger->error('Error message');            // Output : [14-01-2024 22:06:12] ERROR     Error message
    $logger->critical('Critical message');      // Output : [14-01-2024 22:06:12] CRITICAL  Critical message
    $logger->alert('Alert message');            // Output : [14-01-2024 22:06:12] ALERT     Alert message
    $logger->emergency('Emergency message');    // Output : [14-01-2024 22:06:12] EMERGENCY Emergency message
    $logger->debug('Debug message');            // Output : [14-01-2024 22:06:12] DEBUG     Debug message
```

With Aatis Framework
--------------------

[](#with-aatis-framework)

### Requirements

[](#requirements-1)

Add the `Logger` to the `Container`:

```
# In config/services.yaml file :

include_services:
    - 'Aatis\Logger\Service\Logger'
```

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance53

Moderate activity, may be stable

Popularity9

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity47

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

Every ~198 days

Total

4

Last Release

333d ago

Major Versions

0.0.0 → 1.0.02024-01-14

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/38766933?v=4)[AATIS, Inc.](/maintainers/Aatis)[@aatis](https://github.com/aatis)

---

Top Contributors

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

### Embed Badge

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

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

###  Alternatives

[sentry/sentry

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

1.9k247.1M335](/packages/sentry-sentry)[symfony/cache

Provides extended PSR-6, PSR-16 (and tags) implementations

4.2k373.5M3.3k](/packages/symfony-cache)[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.7k38.9k](/packages/matomo-matomo)[illuminate/log

The Illuminate Log package.

6225.3M623](/packages/illuminate-log)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[ecotone/ecotone

Enterprise architecture layer for Laravel and Symfony — CQRS, Event Sourcing, Durable Workflows (Sagas, Orchestrators), Projections, and Outbox messaging via PHP attributes.

564576.7k51](/packages/ecotone-ecotone)

PHPackages © 2026

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