PHP Class Helper\Logger

Afficher le fichier Open project: sendya/shadowsocks-panel Class Usage Examples

Méthodes publiques

Свойство Type Description
$LOG_LEVEL_NAMES

Méthodes publiques

Méthode Description
debug ( $message, $name = 'DEBUG' )
error ( $message, $name = 'ERROR' )
fatal ( $message, $name = 'FATAL' )
getInstance ( )
info ( $message, $name = 'INFO' )
warn ( $message, $name = 'WARN' )

Private Methods

Méthode Description
_log ( $level, $message, $name )
createDir ( $dir, $permission = 511 )

Method Details

debug() public méthode

public debug ( $message, $name = 'DEBUG' )

error() public méthode

public error ( $message, $name = 'ERROR' )

fatal() public méthode

public fatal ( $message, $name = 'FATAL' )

getInstance() static public méthode

static public getInstance ( )

info() public méthode

public info ( $message, $name = 'INFO' )

warn() public méthode

public warn ( $message, $name = 'WARN' )

Property Details

$LOG_LEVEL_NAMES static_oe public_oe property

static public $LOG_LEVEL_NAMES