Class Logger
Located at logger.lib.php
Methods summary
private
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
#
enableOutputTrigger( boolean $enable, integer $trigger_type = null )
enable/disable the trigger output (do not use, if you work with exclusive exceptions) |
public
|
|
public
|
|
public
|
#
setHeaderSettings( boolean $timestamp, boolean $scriptinfo, boolean $meminfo, boolean $tickcount = false )
enable/disable additional header infos |
public
|
#
setOutputFile_CriticalSectionId( string $id, string $path = "./", integer $maxlock_ms = 1000, integer $sleep_ms = 10 )
set the settings to use a critical section for the writing of the output file |
Properties summary
private
integer
|
$m_level
|
#
0
|
private
string
|
$m_pathname
|
#
""
|
private
string
|
$m_filename
|
#
""
|
private
|
$m_critical_section_id
|
#
null
|
private
string
|
$m_critical_section_path
|
#
"./"
|
private
integer
|
$m_critical_section_maxlock_ms
|
#
100
|
private
integer
|
$m_critical_section_sleep_ms
|
#
10
|
private
string
|
$m_delAfter
|
#
"1M"
|
private
boolean
|
$m_header
|
#
true
|
private
boolean
|
$m_file
|
#
false
|
private
boolean
|
$m_display
|
#
false
|
private
boolean
|
$m_trigger
|
#
false
|
private
integer
|
$m_trigger_type
|
#
E_USER_NOTICE
|
private
boolean
|
$m_h_timestamp
|
#
true
|
private
boolean
|
$m_h_tickcount
|
#
false
|
private
boolean
|
$m_h_scriptinfo
|
#
true
|
private
boolean
|
$m_h_meminfo
|
#
true
|
private
boolean
|
$m_sqlite
|
#
false
|
private
array
|
$m_sqlite_obj
|
#
array()
|
private
array
|
$m_cache
|
#
array()
|
private
boolean
|
$m_write_cache
|
#
false
|
public
boolean
|
$m_os_system_logger
use php "error_log" instead of own text file error logger (not require critical section) |
#
true
|