PocketMine-MP 5.23.3 git-f7687af337d001ddbcc47b8e773f014a33faa662
Loading...
Searching...
No Matches
BufferedLogger Interface Reference
+ Inheritance diagram for BufferedLogger:
+ Collaboration diagram for BufferedLogger:

Public Member Functions

 alert ($message)
 
 buffer (\Closure $buffered)
 
 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 20 of file BufferedLogger.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.

◆ buffer()

BufferedLogger::buffer ( \Closure $buffered)

Buffers log messages while the closure is executed, and then flushes the buffer. This is typically used to log blocks of messages on concurrent loggers. @phpstan-param \Closure() : void $buffered

Implemented in pocketmine\utils\MainLogger.

◆ 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 interface was generated from the following file: