/** * Log information useful to developers for debugging the application; not useful * during normal operation. * * @param string $msg Message string to log * @param null|object $data Serializable data object relevant to the event, if any * @param null|\Exception $ex Exception object relevant to the event, if any */ public static function debug($msg, $data = null, $ex = null) { Logger::$context->addEventToContext(new LogEvent(LOG_DEBUG, $msg, null, $data, $ex)); }