Sends a message to the active logger
@param  string $message
@param  string $context (Optional)
162283
public function log($message, $context = "[Strata]")
    {
        $logger = $this->getLogger();
        if (!is_null($logger)) {
            $logger->log($message, $context);
        }
    }
372040
public function warn($message, array $context = array())
    {
        return $this->_instance->addRecord(\Monolog\Logger::WARNING, $message, $context);
    }
1277107
public function alert(string $message, array $context = []){
        if($this->logger !== null){
            $this->logger->alert($message, $context);
        }

        if($this->messagePanel !== null){
            $this->messagePanel->addMessage($message, LogLevel::ALERT);
        }
    }
270787
public function log ($level, $message, array $context = array ()) {
		$this->_log (
			$this->convert_log_level ($level),
			$message,
			$context
		);
	}
252916
public function alert($message, array $context = array())
    {
        // TODO: Implement alert() method.
        return $this->addRecord(\Psr\Log\LogLevel::ALERT, $message, $context);
    }
353724
public function debug($message, array $context = []) {
        $this->logger->debug($this->prefixMessage($message), $context);
    }
1138516
public function debug($message, array $context = [])
    {
        if ($this->logger instanceof LoggerInterface) {
            $this->logger->debug($message, $context);
        }
    }
721093
public function debug($message, array $context = array())
    {
        if ($this->logger) {
            $context = $this->getLoggerContext($context);

            $this->logger->debug($message, $context);
        }
    }
987042
public function critical($message, array $context = []) {
        $this->logger->critical($this->prefixMessage($message), $context);
    }
1344631
public function log($level, $message, array $context = array()) {
		$message = preg_replace("/[\r\n]+/", $this->replacement, $message);
		$this->logger()->log($level, $message, $context);
	}
687422
public function notice($message, array $context = array())
    {
        if ($this->logger) {
            $context = $this->getLoggerContext($context);

            $this->logger->notice($message, $context);
        }
    }
743932
public function log($level, $message, $context = [])
    {
        // This will be empty when output messages are triggered by the command
        // when it's NOT called by a worker option
        if (empty($this->logger)) {
            return;
        }

        // Call the logger's level specific methods
        $method = 'add'.ucfirst($level);
        $this->logger->$method($message, $context);
    }
178482
protected function logInfo($message, array $context = [])
    {
        $this->hasLogger() === true ?: $this->logger->info($message, $context);
    }
200444
public function error($message, array $context = [])
    {
        $this->checkInitialized();

        foreach ($this->loggers as $logger) {
            $logger->error($message, $context);
        }
    }
829818
public static function alert($message, array $context = [], string $channel = self::DEFAULT_CHANNEL): void
    {
        self::log(LogLevel::ALERT, $message, $context, $channel);
    }
16077
public function log($level, $message, array $context = array()) {
		$fn = $this->callback;
		$fn($level, $message, $context);
		$this->logger()->log($level, $message, $context);
	}
947455
public static function log($level, $message, array $context = array())
    {
        App::getBean('Logger')->log($level, $message, static::parseContext($context));
    }