|
PocketMine-MP 5.36.1 git-eaa7c4834c8fe2f379d24e7f0ee6cc63cfb18ccc
|
Inheritance diagram for AttachableLogger:
Collaboration diagram for AttachableLogger:Public Member Functions | |
| addAttachment (\Closure $attachment) | |
| alert ($message) | |
| critical ($message) | |
| debug ($message) | |
| emergency ($message) | |
| error ($message) | |
| getAttachments () | |
| info ($message) | |
| log ($level, $message) | |
| logException (\Throwable $e, $trace=null) | |
| notice ($message) | |
| removeAttachment (\Closure $attachment) | |
| removeAttachments () | |
| warning ($message) | |
@phpstan-type LoggerAttachment \Closure(mixed $level, string $message) : void
Definition at line 21 of file AttachableLogger.php.
| AttachableLogger::addAttachment | ( | \Closure | $attachment | ) |
@phpstan-param LoggerAttachment $attachment
Implemented in pocketmine\plugin\PluginLogger.
|
inherited |
Action must be taken immediately
| string | $message |
Implemented in pocketmine\utils\MainLogger, and SimpleLogger.
|
inherited |
Critical conditions
| string | $message |
Implemented in pocketmine\utils\MainLogger, and SimpleLogger.
Referenced by pocketmine\resourcepacks\ResourcePackManager\__construct().
Here is the caller graph for this function:
|
inherited |
Detailed debug information.
| string | $message |
Implemented in SimpleLogger.
Referenced by pocketmine\resourcepacks\ResourcePackManager\__construct().
Here is the caller graph for this function:
|
inherited |
System is unusable
| string | $message |
Implemented in pocketmine\utils\MainLogger, and SimpleLogger.
|
inherited |
Runtime errors that do not require immediate action but should typically be logged and monitored.
| string | $message |
Implemented in pocketmine\utils\MainLogger, and SimpleLogger.
Referenced by pocketmine\world\format\io\leveldb\LevelDB\getAllChunks(), and pocketmine\world\format\io\region\RegionWorldProvider\getAllChunks().
Here is the caller graph for this function:| AttachableLogger::getAttachments | ( | ) |
Implemented in pocketmine\plugin\PluginLogger.
|
inherited |
Interesting events.
| string | $message |
Implemented in pocketmine\utils\MainLogger, and SimpleLogger.
Referenced by pocketmine\resourcepacks\ResourcePackManager\__construct().
Here is the caller graph for this function:
|
inherited |
Logs with an arbitrary level.
| mixed | $level | |
| string | $message |
Implemented in pocketmine\plugin\PluginLogger, pocketmine\utils\MainLogger, PrefixedLogger, and SimpleLogger.
|
inherited |
Logs a Throwable object
| Throwable | $e | |
| array | null | $trace | @phpstan-param list<array<string, mixed>>|null $trace |
Implemented in pocketmine\utils\MainLogger, and SimpleLogger.
|
inherited |
Normal but significant events.
| string | $message |
Implemented in pocketmine\utils\MainLogger, and SimpleLogger.
| AttachableLogger::removeAttachment | ( | \Closure | $attachment | ) |
@phpstan-param LoggerAttachment $attachment
Implemented in pocketmine\plugin\PluginLogger.
| AttachableLogger::removeAttachments | ( | ) |
Implemented in pocketmine\plugin\PluginLogger.
|
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 |
Implemented in pocketmine\utils\MainLogger, and SimpleLogger.
Referenced by pocketmine\emit_performance_warnings().
Here is the caller graph for this function: