PocketMine-MP 5.23.3 git-f7687af337d001ddbcc47b8e773f014a33faa662
|
Public Member Functions | |
alert ($message) | |
critical ($message) | |
debug ($message) | |
emergency ($message) | |
error ($message) | |
info ($message) | |
log ($level, $message) | |
logException (\Throwable $e, $trace=null) | |
notice ($message) | |
warning ($message) | |
Definition at line 18 of file Logger.php.
Logger::alert | ( | $message | ) |
Action must be taken immediately
string | $message |
Implemented in pocketmine\utils\MainLogger, and SimpleLogger.
Logger::critical | ( | $message | ) |
Critical conditions
string | $message |
Implemented in pocketmine\utils\MainLogger, and SimpleLogger.
Referenced by pocketmine\resourcepacks\ResourcePackManager\__construct().
Logger::debug | ( | $message | ) |
Detailed debug information.
string | $message |
Implemented in SimpleLogger.
Referenced by pocketmine\resourcepacks\ResourcePackManager\__construct().
Logger::emergency | ( | $message | ) |
System is unusable
string | $message |
Implemented in pocketmine\utils\MainLogger, and SimpleLogger.
Logger::error | ( | $message | ) |
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().
Logger::info | ( | $message | ) |
Interesting events.
string | $message |
Implemented in pocketmine\utils\MainLogger, and SimpleLogger.
Referenced by pocketmine\resourcepacks\ResourcePackManager\__construct().
Logger::log | ( | $level, | |
$message ) |
Logs with an arbitrary level.
mixed | $level | |
string | $message |
Implemented in pocketmine\plugin\PluginLogger, pocketmine\utils\MainLogger, PrefixedLogger, and SimpleLogger.
Logger::logException | ( | \Throwable | $e, |
$trace = null ) |
Logs a Throwable object
Throwable | $e | |
array | null | $trace | @phpstan-param list<array<string, mixed>>|null $trace |
Implemented in pocketmine\utils\MainLogger, and SimpleLogger.
Logger::notice | ( | $message | ) |
Normal but significant events.
string | $message |
Implemented in pocketmine\utils\MainLogger, and SimpleLogger.
Logger::warning | ( | $message | ) |
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().