Constants

DEBUG

DEBUG = 1

INFO

INFO = 2

WARN

WARN = 3

ERROR

ERROR = 4

FATAL

FATAL = 5

OFF

OFF = 6

LOG_OPEN

LOG_OPEN = 1

OPEN_FAILED

OPEN_FAILED = 2

LOG_CLOSED

LOG_CLOSED = 3

Properties

$Log_Status

$Log_Status : 

Type

$DateFormat

$DateFormat : 

Type

$MessageQueue

$MessageQueue : 

Type

$filename

$filename : 

Type

$log_file

$log_file : 

Type

$priority

$priority : 

Type

$file_handle

$file_handle : 

Type

Methods

__construct()

__construct(  $filepath,   $timezone,   $priority) 

Parameters

$filepath
$timezone
$priority

__destruct()

__destruct() 

LogInfo()

LogInfo(  $line) 

Parameters

$line

LogDebug()

LogDebug(  $line) 

Parameters

$line

LogWarn()

LogWarn(  $line) 

Parameters

$line

LogError()

LogError(  $line) 

Parameters

$line

LogFatal()

LogFatal(  $line) 

Parameters

$line

Log()

Log(  $line,   $priority,   $sFile,   $iLine) 

Parameters

$line
$priority
$sFile
$iLine

WriteFreeFormLine()

WriteFreeFormLine(  $line) 

Parameters

$line

_createDir()

_createDir(  $dir) 

Parameters

$dir

createPath()

createPath(  $dir,   $filename) 

Parameters

$dir
$filename

getRemoteIP()

getRemoteIP() 

getTimeLine()

getTimeLine(  $level,   $FilePath,   $FileLine) 

Parameters

$level
$FilePath
$FileLine