PocketMine-MP 5.23.3 git-f7687af337d001ddbcc47b8e773f014a33faa662
|
Public Member Functions | |
__construct (\Logger $delegate, string $prefix) | |
alert ($message) | |
critical ($message) | |
debug ($message) | |
emergency ($message) | |
error ($message) | |
getPrefix () | |
info ($message) | |
log ($level, $message) | |
logException (Throwable $e, $trace=null) | |
logException (\Throwable $e, $trace=null) | |
notice ($message) | |
setPrefix (string $prefix) | |
warning ($message) | |
Definition at line 20 of file PrefixedLogger.php.
PrefixedLogger::__construct | ( | \Logger | $delegate, |
string | $prefix ) |
Definition at line 25 of file PrefixedLogger.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().
PrefixedLogger::getPrefix | ( | ) |
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().
PrefixedLogger::log | ( | $level, | |
$message ) |
Logs with an arbitrary level.
mixed | $level | |
string | $message |
Reimplemented from SimpleLogger.
Reimplemented in pocketmine\plugin\PluginLogger.
Definition at line 30 of file PrefixedLogger.php.
PrefixedLogger::logException | ( | Throwable | $e, |
$trace = null ) |
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().
PrefixedLogger::setPrefix | ( | string | $prefix | ) |
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().