PHP Class Phactory\Mongo\Logger

Show file Open project: chriskite/phactory

Protected Properties

Property Type Description
$_level
$_level_strs

Public Methods

Method Description
debug ( $msg, $backtrace = false )
error ( $msg, $backtrace = false )
fatal ( $msg, $backtrace = true )
setLogLevel ( $level )
warn ( $msg, $backtrace = false )

Protected Methods

Method Description
outputMessage ( $log_level, $msg, $backtrace )

Method Details

debug() public static method

public static debug ( $msg, $backtrace = false )

error() public static method

public static error ( $msg, $backtrace = false )

fatal() public static method

public static fatal ( $msg, $backtrace = true )

outputMessage() protected static method

protected static outputMessage ( $log_level, $msg, $backtrace )

setLogLevel() public static method

public static setLogLevel ( $level )

warn() public static method

public static warn ( $msg, $backtrace = false )

Property Details

$_level protected static property

protected static $_level

$_level_strs protected static property

protected static $_level_strs