Class shardimage\shardimagephp\helpers\LoggerHelper

Inheritanceshardimage\shardimagephp\helpers\LoggerHelper

Method Details

phpToPsrLevel() public static method

public static string phpToPsrLevel ( $level, $default = \Psr\Log\LogLevel::DEBUG )
$level integer

PHP log level.

$default string

[optional] The default PSR log level.

return string

PSR log level.

psrToPhpLevel() public static method

public static integer psrToPhpLevel ( $level, $default LOG_DEBUG )
$level string

PSR log level.

$default integer

[optional] The default PHP log level.

return integer

PHP log level.

replaceBinaryStrings() public static method

Replaces the lines containing binary strings with a human readable replacement.

public static string replaceBinaryStrings ( $message )
$message string