You are here

abstract public function LoggerTrait::log in Lockr 7.3

Logs with an arbitrary level.

Parameters

mixed $level:

string $message:

array $context:

Return value

void

8 calls to LoggerTrait::log()
LoggerTrait::alert in vendor/psr/log/Psr/Log/LoggerTrait.php
Action must be taken immediately.
LoggerTrait::critical in vendor/psr/log/Psr/Log/LoggerTrait.php
Critical conditions.
LoggerTrait::debug in vendor/psr/log/Psr/Log/LoggerTrait.php
Detailed debug information.
LoggerTrait::emergency in vendor/psr/log/Psr/Log/LoggerTrait.php
System is unusable.
LoggerTrait::error in vendor/psr/log/Psr/Log/LoggerTrait.php
Runtime errors that do not require immediate action but should typically be logged and monitored.

... See full list

File

vendor/psr/log/Psr/Log/LoggerTrait.php, line 139

Class

LoggerTrait
This is a simple Logger trait that classes unable to extend AbstractLogger (because they extend another class, etc) can include.

Namespace

Psr\Log

Code

public abstract function log($level, $message, array $context = array());