/**
* @var HandlerInterface $handler
*/
$handler =
$this->handlers
[$className];
if (!
$handler->
canHandle($level)) { continue;
} // If the handler returns false, then we
// don't execute any other handlers.
if (!
$handler->
setDateFormat($this->dateFormat
)->
handle($level,
$message)) { break;
} } return true;
} /**
* Replaces any placeholders in the message with variables
* from the context, as well as a few special items like:
*
* {session_vars}
* {post_vars}
* {get_vars}
* {env}
* {env:foo}
* {file}
* {line}
*
* @param string $message
*
* @return string
*/