dev-master
9999999-devSimple logger implementation to works on heroku services
The Requires
by Ievgen Sentiabov
logger extension logging yii2 heroku
Simple logger implementation to works on heroku services
Simple logger for apps which used Heroku as cloud platform., (*1)
The preferred way to install this extension is through composer., (*3)
Either run, (*4)
php composer.phar require --prefer-dist joni-jones/yii2-heroku-logger "dev-master"
or add, (*5)
"joni-jones/yii2-heroku-logger": "dev-master"
to the require section of your composer.json
file., (*6)
Specify config for logging, for example:, (*7)
'components' => [ 'log' => [ 'flushInterval' => 1, 'targets' => [ [ 'class' => 'jones\herokulogger\HerokuTarget', 'levels' => ['error', 'warning', 'info'], 'exportInterval' => 1, 'logVars' => [] ], ], ] ]
Yii::error('Some message', 'app')
.MIT, (*8)
Simple logger implementation to works on heroku services
logger extension logging yii2 heroku