PocketMine-MP 5.21.2 git-b2aa6396c3cc2cafdd815eacc360e1ad89599899
|
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().
|
inherited |
Critical conditions
string | $message |
Implements Logger.
Definition at line 29 of file SimpleLogger.php.
References SimpleLogger\log().
Referenced by SimpleLogger\logException().
|
inherited |
Detailed debug information.
string | $message |
Implements Logger.
Definition at line 49 of file SimpleLogger.php.
References SimpleLogger\log().
|
inherited |
System is unusable
string | $message |
Implements Logger.
Definition at line 21 of file SimpleLogger.php.
References SimpleLogger\log().
|
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().
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().
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().
|
inherited |
Normal but significant events.
string | $message |
Implements Logger.
Definition at line 41 of file SimpleLogger.php.
References SimpleLogger\log().
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().