Logs with an arbitrary level.

@param mixed  $level
@param string $message
@param array  $context

@return void
188695
public function log($level, $message, array $context = [])
    {
        $exception = isset($context['exception']) ? $context['exception'] : null;
        $microTime = microtime(true);
        $micro = sprintf("%06d", ($microTime - floor($microTime)) * 1000000);
        $logTime = (new \DateTime(date('Y-m-d H:i:s.' . $micro, $microTime)))->format('Y-m-d H:i:s.u');
        error_log(
            '[' . $logTime . '] '
            .$message.($exception ? ' {Exception: '.$exception->getMessage().'}' : '')."\n",
            3,
            $this->file,
            null
        );
    }
1160507
public function log($level, $message, array $context = array()) {
		$message = sprintf($this->format, $message);
		$this->logger()->log($level, $message, $context);
	}
1140768
public function log($message, $level = LogLevel::INFO, $context = array())
    {
        $this->buildLogger->log($message, $level, $context);
    }
829937
public function log($level, $message, array $context = array()) {
		$message = strtr($message, $this->replacement);
		$this->logger()->log($level, $message, $context);
	}
21184
public function log($level, $message, array $context = array()) {
		foreach($this->keyValueArray as $key => $value) {
			if(is_object($value)) {
				if(method_exists($value, '__toString')) {
					$value = (string)$value;
				} else {
					$value = json_encode($value);
				}
			}
			$context[$key] = $value;
		}
		$this->logger()->log($level, $message, $context);
	}
1095414
public function log($level, $message, array $context = array())
    {
        $this->getClient()->notify(
            $message,
            array_merge(['level' => $this->levelMapping[$level]], $this->getExtractor()->extract($context))
        );
    }
1316633
public function log($level, $message, array $context = []): void
    {
        $this->{$level}[] = $this->interpolate($message, $context);
    }
1360766
public function log($level, $message, array $context = array())
  {
    $this->Web2All->debugLog('['.$level.'] '.$this->interpolate($message, $context));
  }
976021
public function log($level, $message, array $context = array())
    {
        if (!$this->canLog($level)) {
            return;
        }
        $levelCode = $this->levelCode[$level];
        $data = $this->message->process($levelCode, $level, $message, $context);
        foreach ($this->channels as $channel) {
            $channel->deliver($level, $data);
        }
    }
1307853
public function log($level, $message, array $context = [])
    {
        $message = $this->factory->buildMessage($level, $message, $context);

        foreach ($this->transformers as $transform) {
            $message = $transform($message);
        }

        $formatted = ($this->serializer)($message);

        $this->messages[] = $formatted;
    }
301202
public function log($level, $message, array $context = array())
    {
        if (self::isSetLogger()) {
            return self::$logger->log($level, $message, $context);
        }

        return false;
    }
250457
static public function log($level, $message, array $context = array())
    {
        self::getDefaultLogger()->log($level, $message, $context);
    }
821908
public function log($level, $message, array $context = array())
	{
		if ($this->verbose) {
			fwrite(
				STDOUT,
				'[' . $level . '] [' . strftime('%T %Y-%m-%d') . '] ' . $this->interpolate($message, $context) . PHP_EOL
			);
			return;
		}

		if (!($level === Psr\Log\LogLevel::INFO || $level === Psr\Log\LogLevel::DEBUG)) {
			fwrite(
				STDOUT,
				'[' . $level . '] ' . $this->interpolate($message, $context) . PHP_EOL
			);
		}
	}
697105
public function log($level, $message, array $context = [])
    {
        // Resolve category from 'context'
        $category = ArrayHelper::remove($context, 'category', $this->category);

        // Resolve level
        $level = ArrayHelper::getValue($this->map, $level, $this->level);

        $this->logger->log(
            $this->interpolate($message, $context),
            $level,
            $category
        );
    }
108890
private function _log ($level, $message, $context) {
		Analog::log (
			$this->interpolate ($message, $context),
			$level
		);
	}
480080
public function write($level, $message, array $context = array())
    {
        $context = array('__context' => $context);

        $log = $this->format($level, $message, $context);
        $this->setLastLogLine($log);
        echo $log;
    }
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);
    }