|
PocketMine-MP 5.36.1 git-eaa7c4834c8fe2f379d24e7f0ee6cc63cfb18ccc
|
Inheritance diagram for pocketmine\plugin\PluginLogger:
Collaboration diagram for pocketmine\plugin\PluginLogger:Public Member Functions | |
| addAttachment (\Closure $attachment) | |
| alert ($message) | |
| critical ($message) | |
| debug ($message) | |
| emergency ($message) | |
| error ($message) | |
| getAttachments () | |
| getPrefix () | |
| info ($message) | |
| log ($level, $message) | |
| logException (Throwable $e, $trace=null) | |
| logException (\Throwable $e, $trace=null) | |
| notice ($message) | |
| removeAttachment (\Closure $attachment) | |
| removeAttachments () | |
| setPrefix (string $prefix) | |
| warning ($message) | |
@phpstan-import-type LoggerAttachment from \AttachableLogger
Definition at line 31 of file PluginLogger.php.
| pocketmine\plugin\PluginLogger::addAttachment | ( | \Closure | $attachment | ) |
@phpstan-param LoggerAttachment $attachment
Implements AttachableLogger.
Definition at line 42 of file PluginLogger.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:| pocketmine\plugin\PluginLogger::getAttachments | ( | ) |
Implements AttachableLogger.
Definition at line 57 of file PluginLogger.php.
|
inherited |
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:| pocketmine\plugin\PluginLogger::log | ( | $level, | |
| $message ) |
Logs with an arbitrary level.
| mixed | $level | |
| string | $message |
Reimplemented from PrefixedLogger.
Definition at line 61 of file PluginLogger.php.
|
inherited |
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:| pocketmine\plugin\PluginLogger::removeAttachment | ( | \Closure | $attachment | ) |
@phpstan-param LoggerAttachment $attachment
Implements AttachableLogger.
Definition at line 49 of file PluginLogger.php.
| pocketmine\plugin\PluginLogger::removeAttachments | ( | ) |
|
inherited |
| 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: