|
PocketMine-MP 5.36.1 git-eaa7c4834c8fe2f379d24e7f0ee6cc63cfb18ccc
|
Inheritance diagram for SimpleLogger:
Collaboration diagram for SimpleLogger:Public Member Functions | |
| alert ($message) | |
| critical ($message) | |
| debug ($message) | |
| emergency ($message) | |
| error ($message) | |
| info ($message) | |
| log ($level, $message) | |
| logException (\Throwable $e, $trace=null) | |
| notice ($message) | |
| warning ($message) | |
Definition at line 20 of file SimpleLogger.php.
| SimpleLogger::alert | ( | $message | ) |
Action must be taken immediately
| string | $message |
Implements Logger.
Definition at line 25 of file SimpleLogger.php.
References log().
Here is the call graph for this function:| SimpleLogger::critical | ( | $message | ) |
Critical conditions
| string | $message |
Implements Logger.
Definition at line 29 of file SimpleLogger.php.
References log().
Referenced by logException().
Here is the call graph for this function:
Here is the caller graph for this function:| SimpleLogger::debug | ( | $message | ) |
Detailed debug information.
| string | $message |
Implements Logger.
Definition at line 49 of file SimpleLogger.php.
References log().
Here is the call graph for this function:| SimpleLogger::emergency | ( | $message | ) |
System is unusable
| string | $message |
Implements Logger.
Definition at line 21 of file SimpleLogger.php.
References log().
Here is the call graph for this function:| SimpleLogger::error | ( | $message | ) |
Runtime errors that do not require immediate action but should typically be logged and monitored.
| string | $message |
Implements Logger.
Definition at line 33 of file SimpleLogger.php.
References log().
Here is the call graph for this function:| SimpleLogger::info | ( | $message | ) |
Interesting events.
| string | $message |
Implements Logger.
Definition at line 45 of file SimpleLogger.php.
References log().
Here is the call graph for this function:| SimpleLogger::log | ( | $level, | |
| $message ) |
Logs with an arbitrary level.
| mixed | $level | |
| string | $message |
Implements Logger.
Reimplemented in pocketmine\plugin\PluginLogger, and PrefixedLogger.
Definition at line 53 of file SimpleLogger.php.
Referenced by alert(), critical(), debug(), emergency(), error(), info(), notice(), and warning().
Here is the caller graph for this function:| SimpleLogger::logException | ( | \Throwable | $e, |
| $trace = null ) |
Logs a Throwable object
| Throwable | $e | |
| array | null | $trace | @phpstan-param list<array<string, mixed>>|null $trace |
Implements Logger.
Definition at line 57 of file SimpleLogger.php.
References critical().
Here is the call graph for this function:| SimpleLogger::notice | ( | $message | ) |
Normal but significant events.
| string | $message |
Implements Logger.
Definition at line 41 of file SimpleLogger.php.
References log().
Here is the call graph for this function:| SimpleLogger::warning | ( | $message | ) |
Exceptional occurrences that are not errors.
Example: Use of deprecated APIs, poor use of an API, undesirable things that are not necessarily wrong.
| string | $message |
Implements Logger.
Definition at line 37 of file SimpleLogger.php.
References log().
Here is the call graph for this function: