Log details if possible

@param $message
@param array $context
552163
protected function log($level, $message, array $context = [])
    {
        if ($this->logger) {
            $metadata = $this->getMetadataBag();

            $context['metadata'] = [
                'created' => $metadata->getCreated(),
                'lifetime' => $metadata->getLifetime(),
                'lastused' => $metadata->getLastUsed(),
                'name' => $metadata->getName(),
            ];

            if ($this->isStarted()) {
                $attributes = $this->getBag('attributes');

                if ($attributes instanceof SessionBagProxy) {
                    $attributes = $attributes->getBag();
                }

                if ($attributes instanceof AttributeBagInterface) {
                    $context['metadata']['uID'] = $attributes->get('uID', null);
                    $context['metadata']['uGroups'] = array_values($attributes->get('uGroups', []));
                }
            }

            $this->logger->log($level, $message, $context);
        }
    }
847166
public function log($level, $message, array $context = array())
    {
        if (in_array($level, $this->levels)) {
            file_put_contents(
                $this->logFile, $message . PHP_EOL, FILE_APPEND
            );
        }
    }
53515
public function log($level, $message, array $context = [])
    {
        $log_levels = array_flip(get_class_methods(__CLASS__));
        unset($log_levels['log']);

        if (isset($log_levels[$level])) {
            return $this->$level($message, $context);
        }
    }
1057416
public function log($level, $message, array $context = array()) {
		try {
			call_user_func($this->callable, $level, $message, $context);
		} catch(\Exception $e) {
		}
	}
411155
public function log($level, $message, array $context = array())
    {
        if (!$this->fileName) {
            return;
        }
        file_put_contents($this->fileName, '['.$level.'] - '.$message.' | '.serialize($context));
    }
1184837
public function log($level, $message, array $context = array())
    {
        if ($this->level > $level || array_key_exists($level, $this->levels) === false) {
            return;
        }

        $this->out($this->levels[$level], $message, $context);
    }
801410
final public function log($level, $message, array $context = array())
    {
        if (isset($this->levels[$level]) && $this->levels[$level] < $this->minLevel) {
            return;
        }
    
        if (empty($this->context) && empty($context)) {
            $context = [];
        } elseif ($this->context !== $context) {
            $context = array_merge($this->context, $context);
        }
        
        $context['level'] = $level;
        $context['datetime'] = date('Y-m-d H:i:s');
        
        try {
            $this->writer->write($context['datetime'].' ['.$level.'] '.$this->prefix.$message, $context);
        } catch (Exception $e) {
            $this->handleWriteError($e, $message);
        }
    }
235497
public function info($message, array $context = []) : void
    {
        /** @psalm-suppress UndefinedClass */
        SspLogger::info($message.($context ? " ".var_export($context, true) : ""));
    }
767828
public function log($level, $message, array $context = [])
    {
        echo sprintf(
            'LOG: [%s] %s',
            $level,
            $this->interpolate($message, $context)
        ) . PHP_EOL;
    }
499681
public function log($level, $message, array $context = array())
    {
        $eol = isset($context['newLine']) && $context['newLine'] === false ? '' : PHP_EOL;
        
        if ($this->addLeveLMarkersToMessage && !empty($level)) {
            echo '<',$level,'>',$message,'</',$level,'>',$eol;
        } else {
            echo $message,$eol;
        }
    }
547224
public function log($level, $message, array $context = array()) {
		$ctx = $context;
		if(!count($ctx)) {
			$ctx = new \stdClass();
		}
		$message = sprintf($this->format, $message, json_encode($ctx, $this->jsonOptions));
		$this->logger()->log($level, $message, $context);
	}
161868
public function log($level, $message, array $context = [])
    {
        if (in_array($level, $this->acceptedLevels, true)) {
            $this->logger->log($level, $message, $context);
        }
    }
1349359
public function log($level, $message, array $context = array()) {
		$this->entries[] = array($level, $message, $context);
		if($this->maxEntries > -1 && count($this->entries) >= $this->maxEntries) {
			$this->flush();
		}
	}
353580
public function log($level, $message, array $context = array())
    {
        if (!array_key_exists($level, $this->levels)) {
            $level = $this->defaultLevel;
        }
        
        $level = \LoggerLevel::toLevel($this->levels[$level], $this->defaultLevel);
        
        $message = $this->formatter->format($level, $message, $context);

        $this->logger->log($level, $message);
    }
178482
protected function logInfo($message, array $context = [])
    {
        $this->hasLogger() === true ?: $this->logger->info($message, $context);
    }
641480
protected function logInfo(string $message, array $context = []): void
    {
        if ($this->logger !== null) {
            $this->logger->info($message, $context);
        }
    }
20801
public function info($message, array $context = [])
    {
        $this->checkInitialized();

        foreach ($this->loggers as $logger) {
            $logger->info($message, $context);
        }
    }