PocketMine-MP 5.23.3 git-f7687af337d001ddbcc47b8e773f014a33faa662
|
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().
|
inherited |
Detailed debug information.
string | $message |
Implemented in SimpleLogger.
Referenced by pocketmine\resourcepacks\ResourcePackManager\__construct().
|
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().
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().
|
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().