cakephp-monolog
cakephp-monolog copied to clipboard
Plugin not recognized?
Hi, using the specifics of the installation tutorial, CakePHP 2.10.x won't recognize the plugin?
Code used:
CakePlugin::load('Monolog');
CakeLog::config('debug', array(
'engine' => 'Monolog.Monolog',
'channel' => 'app',
'handlers' => array(
'Stream' => array(
LOGS . 'debug.log',
'formatters' => array(
'Line' => array("%datetime% %channel% %level_name%: %message%\n")
)
)
)
));
And in app/composer.json:
"require": {
"php": ">=5.3.0",
"ext-mcrypt": "*",
"cakephp/cakephp": "~2.9",
"jadb/cakephp-monolog": "*"
},
The same issue happened on a legacy project I'm working on.