public function debug($message, array $context = array()) { return $this->addRecord(self::DEBUG, $message, $context); }
/** * @param $message * @param array $extra * * @return $this */ public function debug($message, $extra = []) { if (getenv('DEBUG')) { $this->logger->debug($message, $extra); } return $this; }