PocketMine-MP 5.23.3 git-f7687af337d001ddbcc47b8e773f014a33faa662
|
Public Member Functions | |
addAttachment (ThreadSafeLoggerAttachment $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 (ThreadSafeLoggerAttachment $attachment) | |
removeAttachments () | |
warning ($message) | |
Protected Attributes | |
ThreadSafeArray | $attachments |
Definition at line 28 of file AttachableThreadSafeLogger.php.
pocketmine\thread\log\AttachableThreadSafeLogger::__construct | ( | ) |
Definition at line 36 of file AttachableThreadSafeLogger.php.
pocketmine\thread\log\AttachableThreadSafeLogger::addAttachment | ( | ThreadSafeLoggerAttachment | $attachment | ) |
Definition at line 40 of file AttachableThreadSafeLogger.php.
|
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().
pocketmine\thread\log\AttachableThreadSafeLogger::getAttachments | ( | ) |
Definition at line 61 of file AttachableThreadSafeLogger.php.
|
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.
pocketmine\thread\log\AttachableThreadSafeLogger::removeAttachment | ( | ThreadSafeLoggerAttachment | $attachment | ) |
Definition at line 44 of file AttachableThreadSafeLogger.php.
pocketmine\thread\log\AttachableThreadSafeLogger::removeAttachments | ( | ) |
Definition at line 52 of file AttachableThreadSafeLogger.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 |
Implemented in pocketmine\utils\MainLogger, and SimpleLogger.
Referenced by pocketmine\emit_performance_warnings().
|
protected |
Definition at line 34 of file AttachableThreadSafeLogger.php.