|
| | alert (string|Stringable $message, array $context=[]) |
| | Action must be taken immediately.
|
| |
| | critical (string|Stringable $message, array $context=[]) |
| | Critical conditions.
|
| |
| | debug (string|Stringable $message, array $context=[]) |
| | Detailed debug information.
|
| |
| | emergency (string|Stringable $message, array $context=[]) |
| | System is unusable.
|
| |
| | error (string|Stringable $message, array $context=[]) |
| | Runtime errors that do not require immediate action but should typically be logged and monitored.
|
| |
| | info (string|Stringable $message, array $context=[]) |
| | Interesting events.
|
| |
| | log ($level, string|Stringable $message, array $context=[]) |
| | Logs with an arbitrary level.
|
| |
| | log ($level, $message, array $context=[]) |
| |
| | notice (string|Stringable $message, array $context=[]) |
| | Normal but significant events.
|
| |
| | warning (string|Stringable $message, array $context=[]) |
| | Exceptional occurrences that are not errors.
|
| |
◆ alert()
| Psr\Log\LoggerInterface::alert |
( |
string|Stringable | $message, |
|
|
array | $context = [] ) |
|
inherited |
Action must be taken immediately.
Example: Entire website down, database unavailable, etc. This should trigger the SMS alerts and wake you up.
- Parameters
-
◆ critical()
| Psr\Log\LoggerInterface::critical |
( |
string|Stringable | $message, |
|
|
array | $context = [] ) |
|
inherited |
Critical conditions.
Example: Application component unavailable, unexpected exception.
- Parameters
-
◆ debug()
| Psr\Log\LoggerInterface::debug |
( |
string|Stringable | $message, |
|
|
array | $context = [] ) |
|
inherited |
Detailed debug information.
- Parameters
-
◆ emergency()
| Psr\Log\LoggerInterface::emergency |
( |
string|Stringable | $message, |
|
|
array | $context = [] ) |
|
inherited |
System is unusable.
- Parameters
-
◆ error()
| Psr\Log\LoggerInterface::error |
( |
string|Stringable | $message, |
|
|
array | $context = [] ) |
|
inherited |
Runtime errors that do not require immediate action but should typically be logged and monitored.
- Parameters
-
◆ info()
| Psr\Log\LoggerInterface::info |
( |
string|Stringable | $message, |
|
|
array | $context = [] ) |
|
inherited |
Interesting events.
Example: User logs in, SQL logs.
- Parameters
-
◆ log() [1/2]
| Psr\Log\LoggerInterface::log |
( |
| $level, |
|
|
string|Stringable | $message, |
|
|
array | $context = [] ) |
|
inherited |
Logs with an arbitrary level.
- Parameters
-
| mixed | $level | |
| mixed[] | $context | |
- Exceptions
-
Implemented in Psr\Log\NullLogger.
◆ log() [2/2]
| Slim\Logger::log |
( |
| $level, |
|
|
| $message, |
|
|
array | $context = [] ) |
- Parameters
-
| mixed | $level | |
| string | Stringable | $message | |
| array<mixed> | $context |
- Exceptions
-
◆ notice()
| Psr\Log\LoggerInterface::notice |
( |
string|Stringable | $message, |
|
|
array | $context = [] ) |
|
inherited |
Normal but significant events.
- Parameters
-
◆ warning()
| Psr\Log\LoggerInterface::warning |
( |
string|Stringable | $message, |
|
|
array | $context = [] ) |
|
inherited |
Exceptional occurrences that are not errors.
Example: Use of deprecated APIs, poor use of an API, undesirable things that are not necessarily wrong.
- Parameters
-
The documentation for this class was generated from the following file:
- lib/slim/slim/Slim/Logger.php