PHP 클래스 Logger, atk4

파일 보기 프로젝트 열기: atk4/atk4 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$_current_ip
$_prev_exec_time
$debug_log
$details File we are currently logging errors to
$err_message
$filename no debug messages added yet
$log_dir instead
$log_output $config['logger']['web_output']
$owner AModules3 compatibility
$public_error_message $config['logger']['log_output']
$recskip
$web_output Configuration;

보호된 프로퍼티들

프로퍼티 타입 설명
$log_debug_file File we are currently logging errors to
$log_error_file You can change in $config['logger']['log_dir']
$log_info_file File we are currently logging errors to

공개 메소드들

메소드 설명
Debug ( $filename ) Debug functions
_microtime_float ( )
_sec2time ( $sec )
backtrace ( $sh = null, $backtrace = null )
caughtException ( $caller, $e )
cleanupLogDirectory ( )
displayError ( $o )
findFrame ( $function_name, $shift )
gatherDetails ( )
htmlLine ( $msg, $frame = null, $prefix = null )
init ( )
logCaughtException ( $e )
logException ( $e )
logLine ( $msg, $shiftfunc = null, $severity = 'info', $trace = null )
logVar ( $var, $msg = '', $shiftfunc = null, $severity = 'debug' )
openLogFile ( $severity = 'error' )
outputDebug ( $front, $caller, $msg, $shift )
outputFatal ( $caller, $msg, $shift )
outputInfo ( $caller, $msg, $shift, $nohtml = false )
outputWarning ( $caller, $msg, $shift )
p ( $message, $file = null, $line = null ) print
print_r ( $key, $gs, $ge, $ls, $le, $ind = ' ' )
showDebugInfo ( )
showRenderTree ( $e, $obj )
txtBacktrace ( $sh = null, $backtrace = null )
txtLine ( $msg, $frame = null, $prefix = null )
writeLogMessage ( )

메소드 상세

Debug() 공개 메소드

Debug functions
public Debug ( $filename )

_microtime_float() 공개 메소드

public _microtime_float ( )

_sec2time() 공개 메소드

public _sec2time ( $sec )

backtrace() 공개 메소드

public backtrace ( $sh = null, $backtrace = null )

caughtException() 공개 메소드

public caughtException ( $caller, $e )

cleanupLogDirectory() 공개 메소드

public cleanupLogDirectory ( )

displayError() 공개 메소드

public displayError ( $o )

findFrame() 공개 메소드

public findFrame ( $function_name, $shift )

gatherDetails() 공개 메소드

public gatherDetails ( )

htmlLine() 공개 메소드

public htmlLine ( $msg, $frame = null, $prefix = null )

init() 공개 메소드

public init ( )

logCaughtException() 공개 메소드

public logCaughtException ( $e )

logException() 공개 메소드

public logException ( $e )

logLine() 공개 메소드

public logLine ( $msg, $shiftfunc = null, $severity = 'info', $trace = null )

logVar() 공개 메소드

public logVar ( $var, $msg = '', $shiftfunc = null, $severity = 'debug' )

openLogFile() 공개 메소드

public openLogFile ( $severity = 'error' )

outputDebug() 공개 메소드

public outputDebug ( $front, $caller, $msg, $shift )

outputFatal() 공개 메소드

public outputFatal ( $caller, $msg, $shift )

outputInfo() 공개 메소드

public outputInfo ( $caller, $msg, $shift, $nohtml = false )

outputWarning() 공개 메소드

public outputWarning ( $caller, $msg, $shift )

p() 공개 메소드

print
public p ( $message, $file = null, $line = null )

print_r() 공개 메소드

public print_r ( $key, $gs, $ge, $ls, $le, $ind = ' ' )

showDebugInfo() 공개 메소드

public showDebugInfo ( )

showRenderTree() 공개 메소드

public showRenderTree ( $e, $obj )

txtBacktrace() 공개 메소드

public txtBacktrace ( $sh = null, $backtrace = null )

txtLine() 공개 메소드

public txtLine ( $msg, $frame = null, $prefix = null )

writeLogMessage() 공개 메소드

public writeLogMessage ( )

프로퍼티 상세

$_current_ip 공개적으로 프로퍼티

public $_current_ip

$_prev_exec_time 공개적으로 프로퍼티

public $_prev_exec_time

$debug_log 공개적으로 프로퍼티

public $debug_log

$details 공개적으로 프로퍼티

File we are currently logging errors to
public $details

$err_message 공개적으로 프로퍼티

public $err_message

$filename 공개적으로 프로퍼티

no debug messages added yet
public $filename

$log_debug_file 보호되어 있는 프로퍼티

File we are currently logging errors to
protected $log_debug_file

$log_dir 공개적으로 프로퍼티

instead
public $log_dir

$log_error_file 보호되어 있는 프로퍼티

You can change in $config['logger']['log_dir']
protected $log_error_file

$log_info_file 보호되어 있는 프로퍼티

File we are currently logging errors to
protected $log_info_file

$log_output 공개적으로 프로퍼티

$config['logger']['web_output']
public $log_output

$owner 공개적으로 프로퍼티

AModules3 compatibility
public $owner

$public_error_message 공개적으로 프로퍼티

$config['logger']['log_output']
public $public_error_message

$recskip 공개적으로 프로퍼티

public $recskip

$web_output 공개적으로 프로퍼티

Configuration;
public $web_output