Log Interface

Describes Log interface.


exception

Return an instance with exception level.

try{
    // do something fun ...
}catch(\Exception $exception){
    $log = $log->exception($exception);
}

backtrace

Return an instance with backtrace level.

$log = $log->backtrace($message);