Download the PHP package awallef/cakephp-cw-log without Composer
On this page you can find all versions of the php package awallef/cakephp-cw-log. 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 cakephp-cw-log
cakephp-cw-log plugin for CakePHP
This plugin allows you log your cakephp app in aws cloudwatch
Installation
You can install this plugin into your CakePHP application using composer.
The recommended way to install composer packages is:
composer require awallef/cakephp-cw-log
Log settings
Configure the engine in app.php like follow:
...
'Log' => [
'debug' => [
'className' => 'Awallef\CWL\Log\Engine\CloudwatchLog',
'levels' => ['notice', 'info', 'debug'],
// Cloudwatch
'groupName' => 'ec2-instance-x',
'streamName' => 'my-php-app-log-test',
'retentionDays' => '14', // days...
// aws
'aws' => [
'region' => 'eu-central-1',
'version' => 'latest',
'credentials' => [
'key' => 'your AWS key',
'secret' => 'your AWS secret',
]
]
],
'error' => [
'className' => 'Awallef\CWL\Log\Engine\CloudwatchLog',
'levels' => ['warning', 'error', 'critical', 'alert', 'emergency'],
// Cloudwatch
'groupName' => 'ec2-instance-x',
'streamName' => 'my-php-app-log-test',
'retentionDays' => '14', // days...
// aws
'aws' => [
'region' => 'eu-central-1',
'version' => 'latest',
'credentials' => [
'key' => 'your AWS key',
'secret' => 'your AWS secret',
]
]
],
],
...
more to come, like errors types as tags....
All versions of cakephp-cw-log with dependencies
PHP Build Version
Package Version
The package awallef/cakephp-cw-log contains the following files
Loading the files please wait ....