class DevNullLogger in TMGMT Translator Smartling 8.4
Same name and namespace in other branches
- 8.2 api-sdk-php/src/Logger/DevNullLogger.php \Smartling\Logger\DevNullLogger
- 8.2 vendor/smartling/api-sdk-php/src/Logger/DevNullLogger.php \Smartling\Logger\DevNullLogger
- 8.3 vendor/smartling/api-sdk-php/src/Logger/DevNullLogger.php \Smartling\Logger\DevNullLogger
Hierarchy
- class \Smartling\Logger\DevNullLogger implements LoggerInterface
Expanded class hierarchy of DevNullLogger
1 file declares its use of DevNullLogger
- BaseApiAbstract.php in vendor/
smartling/ api-sdk-php/ src/ BaseApiAbstract.php
File
- vendor/
smartling/ api-sdk-php/ src/ Logger/ DevNullLogger.php, line 7
Namespace
Smartling\LoggerView source
class DevNullLogger implements LoggerInterface {
/**
* System is unusable.
*
* @param string $message
* @param array $context
*
* @return null
*/
public function emergency($message, array $context = []) {
}
/**
* Action must be taken immediately.
*
* Example: Entire website down, database unavailable, etc. This should
* trigger the SMS alerts and wake you up.
*
* @param string $message
* @param array $context
*
* @return null
*/
public function alert($message, array $context = []) {
}
/**
* Critical conditions.
*
* Example: Application component unavailable, unexpected exception.
*
* @param string $message
* @param array $context
*
* @return null
*/
public function critical($message, array $context = []) {
}
/**
* Runtime errors that do not require immediate action but should typically
* be logged and monitored.
*
* @param string $message
* @param array $context
*
* @return null
*/
public function error($message, array $context = []) {
}
/**
* Exceptional occurrences that are not errors.
*
* Example: Use of deprecated APIs, poor use of an API, undesirable things
* that are not necessarily wrong.
*
* @param string $message
* @param array $context
*
* @return null
*/
public function warning($message, array $context = []) {
}
/**
* Normal but significant events.
*
* @param string $message
* @param array $context
*
* @return null
*/
public function notice($message, array $context = []) {
}
/**
* Interesting events.
*
* Example: User logs in, SQL logs.
*
* @param string $message
* @param array $context
*
* @return null
*/
public function info($message, array $context = []) {
}
/**
* Detailed debug information.
*
* @param string $message
* @param array $context
*
* @return null
*/
public function debug($message, array $context = []) {
}
/**
* Logs with an arbitrary level.
*
* @param mixed $level
* @param string $message
* @param array $context
*
* @return null
*/
public function log($level, $message, array $context = []) {
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
DevNullLogger:: |
public | function |
Action must be taken immediately. Overrides LoggerInterface:: |
|
DevNullLogger:: |
public | function |
Critical conditions. Overrides LoggerInterface:: |
|
DevNullLogger:: |
public | function |
Detailed debug information. Overrides LoggerInterface:: |
|
DevNullLogger:: |
public | function |
System is unusable. Overrides LoggerInterface:: |
|
DevNullLogger:: |
public | function |
Runtime errors that do not require immediate action but should typically
be logged and monitored. Overrides LoggerInterface:: |
|
DevNullLogger:: |
public | function |
Interesting events. Overrides LoggerInterface:: |
|
DevNullLogger:: |
public | function |
Logs with an arbitrary level. Overrides LoggerInterface:: |
|
DevNullLogger:: |
public | function |
Normal but significant events. Overrides LoggerInterface:: |
|
DevNullLogger:: |
public | function |
Exceptional occurrences that are not errors. Overrides LoggerInterface:: |