PHP Class Helper\Logger

ファイルを表示 Open project: sendya/shadowsocks-panel Class Usage Examples

Public Properties

Property Type Description
$LOG_LEVEL_NAMES

Public Methods

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

Private Methods

Method Description
_log ( $level, $message, $name )
createDir ( $dir, $permission = 511 )

Method Details

debug() public method

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

error() public method

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

fatal() public method

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

getInstance() static public method

static public getInstance ( )

info() public method

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

warn() public method

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

Property Details

$LOG_LEVEL_NAMES static_oe public_oe property

static public $LOG_LEVEL_NAMES