PocketMine-MP 5.21.2 git-b2aa6396c3cc2cafdd815eacc360e1ad89599899
Loading...
Searching...
No Matches
pocketmine\thread\log\ThreadSafeLogger Class Reference
+ Inheritance diagram for pocketmine\thread\log\ThreadSafeLogger:
+ Collaboration diagram for pocketmine\thread\log\ThreadSafeLogger:

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)
 

Detailed Description

Definition at line 28 of file ThreadSafeLogger.php.

Member Function Documentation

◆ alert()

Logger::alert ( $message)
inherited

Action must be taken immediately

Parameters
string$message
Returns
void

Implemented in pocketmine\utils\MainLogger, and SimpleLogger.

◆ critical()

Logger::critical ( $message)
inherited

Critical conditions

Parameters
string$message
Returns
void

Implemented in pocketmine\utils\MainLogger, and SimpleLogger.

Referenced by pocketmine\resourcepacks\ResourcePackManager\__construct().

+ Here is the caller graph for this function:

◆ debug()

Logger::debug ( $message)
inherited

Detailed debug information.

Parameters
string$message
Returns
void

Implemented in SimpleLogger.

Referenced by pocketmine\resourcepacks\ResourcePackManager\__construct().

+ Here is the caller graph for this function:

◆ emergency()

Logger::emergency ( $message)
inherited

System is unusable

Parameters
string$message
Returns
void

Implemented in pocketmine\utils\MainLogger, and SimpleLogger.

◆ error()

Logger::error ( $message)
inherited

Runtime errors that do not require immediate action but should typically be logged and monitored.

Parameters
string$message
Returns
void

Implemented in pocketmine\utils\MainLogger, and SimpleLogger.

Referenced by pocketmine\world\format\io\leveldb\LevelDB\getAllChunks().

+ Here is the caller graph for this function:

◆ info()

Logger::info ( $message)
inherited

Interesting events.

Parameters
string$message
Returns
void

Implemented in pocketmine\utils\MainLogger, and SimpleLogger.

Referenced by pocketmine\resourcepacks\ResourcePackManager\__construct().

+ Here is the caller graph for this function:

◆ log()

Logger::log ( $level,
$message )
inherited

Logs with an arbitrary level.

Parameters
mixed$level
string$message
Returns
void

Implemented in pocketmine\plugin\PluginLogger, pocketmine\utils\MainLogger, PrefixedLogger, and SimpleLogger.

◆ logException()

Logger::logException ( \Throwable $e,
$trace = null )
inherited

Logs a Throwable object

Parameters
Throwable$e
array | null$trace@phpstan-param list<array<string, mixed>>|null $trace
Returns
void

Implemented in pocketmine\utils\MainLogger, and SimpleLogger.

◆ notice()

Logger::notice ( $message)
inherited

Normal but significant events.

Parameters
string$message
Returns
void

Implemented in pocketmine\utils\MainLogger, and SimpleLogger.

◆ warning()

Logger::warning ( $message)
inherited

Exceptional occurrences that are not errors.

Example: Use of deprecated APIs, poor use of an API, undesirable things that are not necessarily wrong.

Parameters
string$message
Returns
void

Implemented in pocketmine\utils\MainLogger, and SimpleLogger.

Referenced by pocketmine\emit_performance_warnings().

+ Here is the caller graph for this function:

The documentation for this class was generated from the following file: