Download the PHP package yomafleet/event-logger without Composer
On this page you can find all versions of the php package yomafleet/event-logger. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package event-logger
Event Logger
Event logging with yomafleet's prefer format. Use monolog package underlying.
Installtion
composer require yomafleet/event-logger
Parameters
name | type | description |
---|---|---|
$level | String | Log level as in RFC 5424 |
$message | String | Short and descriptive message |
$data | Array | Payload array with required keys. |
$data['event'] | String | Name of the event separated by dot. For example, user.updated |
$data['data'] | Array | Arbitrary data to log. |
$data['trigger_by'] | Array | The trigger of the given event. If not provided, this app will try to guess from authenticated user first, then as a system user. |
$data['type] | String | Type of the $data['data'], for example, user . If not provided, the first segement of $data['event'] will be added. |
Usage
All versions of event-logger with dependencies
PHP Build Version
Package Version
The package yomafleet/event-logger contains the following files
Loading the files please wait ....