Activate Logging

The Yee application’s log object provides the following public methods to enable or disable logging during runtime.

//Enable logging

//Disable logging

You may enable or disable the log object during application instantiation like this:

$app = new Yee(array(
    'log.enabled' => true

If logging is disabled, the log object will ignore all logged messages until it is enabled.