Logs messages using Closures. Closures combined with filtering can trigger application events based on log messages.
$log :
getLogObject()
__construct( $logObject)
log( $message, $priority = LOG_INFO, $extras = array())