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

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

darkilliant/class-logger
========================

16PHP

Since Feb 12Pushed 8y ago1 watchersCompare

[ Source](https://github.com/jean-pasqualini/class-logger-proxy)[ Packagist](https://packagist.org/packages/darkilliant/class-logger)[ RSS](/packages/darkilliant-class-logger/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (4)Used By (0)

#### Description

[](#description)

Class logger spy interaction with class and show into log

Interaction contains,

- name of class
- name method called
- params passed
- return value

Log compatible with PSR3-Logger for usage,

- Console log into cli (example)
- ChromePHP handler
- Decorate logger for one logger available after

It's possible spy,

- Abstract class
- Final class
- Class

It's not possible spy,

- Trait (for the moment support 90%)
- Internal php class (futur support multiple driver php-aop maybe possible)

It's possible use discovery class with interface.

#### Installation

[](#installation)

```
$ composer require darkilliant/class-logger
```

#### Usage

[](#usage)

On entry point file add instructions,

```
