Provides logging capabilities to the HotMelt framework.
| todo |
Replace/supplement this with a PSR-3-compatible logger interface (http://www.php-fig.org/psr/psr-3/). |
|---|
setLevel(int $level)
intThe logging level to set. Any of the \HotMelt\Log::LEVEL_... constants.
getLevel() : int
int
write(int $level, string $message)
intThe logging level for the message to write. Will not write the message, if the logging level is above the effective logging level.
stringThe message to write.
error(string $message)
stringThe message to write.
warning(string $message)
stringThe message to write.
info(string $message)
stringThe message to write.
LEVEL_NONE
LEVEL_ERROR
LEVEL_WARNING
LEVEL_INFO