pahanini / yii2-consolelog
Dumps log to console
Installs: 181 843
Dependents: 1
Suggesters: 0
Security: 0
Stars: 19
Watchers: 2
Forks: 11
Open Issues: 1
Type:yii2-extension
README
Dumps output to console, for console application debugging
Installation
Add
"pahanini/yii2-consolelog": "*"
to the require section of your composer.json
file.
Usage
return [ 'id' => 'app-console', 'bootstrap' => ['log'], 'components' => [ 'log' => [ 'targets' => [ [ 'class' => 'pahanini\log\ConsoleTarget', 'levels' => ['error', 'warning', 'trace'], ] ], ], ], 'params' => $params, ];
You also can customize color scheme using color property.