abstract public function LoggerTrait::log in TMGMT Translator Smartling 8.4
Same name and namespace in other branches
- 8.2 vendor/psr/log/Psr/Log/LoggerTrait.php \Psr\Log\LoggerTrait::log()
- 8.3 vendor/psr/log/Psr/Log/LoggerTrait.php \Psr\Log\LoggerTrait::log()
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.
1 method overrides LoggerTrait::log()
- BufferLogger::log in src/
Logger/ BufferLogger.php - Logs with an arbitrary level.
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\LogCode
public abstract function log($level, $message, array $context = array());