\Helper_Log

Class Helper_Log

Summary

Methods
Properties
Constants
__construct()
load()
init()
setLogFile()
setValue()
output()
log()
singleLog()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
_isCron()
_getProcessIp()
$_oLog
$_bLog
$_sLogFile
$_aResponse
N/A

Properties

$_oLog

$_oLog : 

Type

$_bLog

$_bLog : 

Type

$_sLogFile

$_sLogFile : 

Type

$_aResponse

$_aResponse : 

Type

Methods

__construct()

__construct() : $this

__construct()

Returns

$this

load()

load() : $this|boolean

load()

Singleton to secure to create only one instance of this class.

Returns

$this|boolean

init()

init(  $sLogFile = 'system.log',   $aKeys = array()) : void

init()

Parameters

$sLogFile
$aKeys

setLogFile()

setLogFile(  $sLogFile = 'system.log') : void

setLogFile()

Parameters

$sLogFile

setValue()

setValue(string  $sKey, string  $sValue,   $bPush = FALSE) : void

setValue()

Parameters

string $sKey
string $sValue
$bPush

output()

output() : void

output()

log()

log(  $aAddData = array()) : boolean

log()

Parameters

$aAddData

Returns

boolean

singleLog()

singleLog(array  $aData, string  $sLogFile,   $bIsDebugmode = TRUE) : boolean

singleLog()

Parameters

array $aData
string $sLogFile
$bIsDebugmode

Returns

boolean

_isCron()

_isCron() : boolean

_isCron()

Returns

boolean

_getProcessIp()

_getProcessIp(  $sIp = FALSE) : boolean

_getProcessIp()

Parameters

$sIp

Returns

boolean