Console logging. Writes logs to console output.
ConsoleLog $_output protected __construct( array $config array() )
Constructs a new Console Logger.
Config
types string or array, levels the engine is interested inscopes string or array, scopes the engine is interested instream the path to save logs on.outputAs integer or ConsoleOutput::[RAW|PLAIN|COLOR]$config optional array() CakeLogExceptionBaseLog::__construct() write( string $type , string $message )
Implements writing to console.
$type $message config( array $config array() )
Sets instance config. When $config is null, returns config array
Config
types string or array, levels the engine is interested inscopes string or array, scopes the engine is interested in$config optional array()
© 2005–2016 The Cake Software Foundation, Inc.
Licensed under the MIT License.
CakePHP is a registered trademark of Cake Software Foundation, Inc.
We are not endorsed by or affiliated with CakePHP.
http://api.cakephp.org/2.8/class-ConsoleLog.html