|
PocketMine-MP 5.36.1 git-eaa7c4834c8fe2f379d24e7f0ee6cc63cfb18ccc
|
Inheritance diagram for PrefixedLogger:
Collaboration diagram for PrefixedLogger:Public Member Functions | |
| __construct (\Logger $delegate, string $prefix) | |
| alert ($message) | |
| critical ($message) | |
| debug ($message) | |
| emergency ($message) | |
| error ($message) | |
| getPrefix () | |
| info ($message) | |
| log ($level, $message) | |
| logException (Throwable $e, $trace=null) | |
| logException (\Throwable $e, $trace=null) | |
| notice ($message) | |
| setPrefix (string $prefix) | |
| warning ($message) | |
Definition at line 20 of file PrefixedLogger.php.
| PrefixedLogger::__construct | ( | \Logger | $delegate, |
| string | $prefix ) |
Definition at line 25 of file PrefixedLogger.php.
|
inherited |
Action must be taken immediately
| string | $message |
Implements Logger.
Definition at line 25 of file SimpleLogger.php.
References SimpleLogger\log().
Here is the call graph for this function:
|
inherited |
Critical conditions
| string | $message |
Implements Logger.
Definition at line 29 of file SimpleLogger.php.
References SimpleLogger\log().
Referenced by SimpleLogger\logException().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inherited |
Detailed debug information.
| string | $message |
Implements Logger.
Definition at line 49 of file SimpleLogger.php.
References SimpleLogger\log().
Here is the call graph for this function:
|
inherited |
System is unusable
| string | $message |
Implements Logger.
Definition at line 21 of file SimpleLogger.php.
References SimpleLogger\log().
Here is the call graph for this function:
|
inherited |
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 SimpleLogger\log().
Here is the call graph for this function:| PrefixedLogger::getPrefix | ( | ) |
Definition at line 41 of file PrefixedLogger.php.
|
inherited |
Interesting events.
| string | $message |
Implements Logger.
Definition at line 45 of file SimpleLogger.php.
References SimpleLogger\log().
Here is the call graph for this function:| PrefixedLogger::log | ( | $level, | |
| $message ) |
Logs with an arbitrary level.
| mixed | $level | |
| string | $message |
Reimplemented from SimpleLogger.
Reimplemented in pocketmine\plugin\PluginLogger.
Definition at line 30 of file PrefixedLogger.php.
| PrefixedLogger::logException | ( | Throwable | $e, |
| $trace = null ) |
Definition at line 34 of file PrefixedLogger.php.
|
inherited |
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 SimpleLogger\critical().
Here is the call graph for this function:
|
inherited |
Normal but significant events.
| string | $message |
Implements Logger.
Definition at line 41 of file SimpleLogger.php.
References SimpleLogger\log().
Here is the call graph for this function:| PrefixedLogger::setPrefix | ( | string | $prefix | ) |
| string | $prefix |
Definition at line 48 of file PrefixedLogger.php.
|
inherited |
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 SimpleLogger\log().
Here is the call graph for this function: