UNA
Loading...
Searching...
No Matches
BxDolLogsStorageFolder Class Reference
Inheritance diagram for BxDolLogsStorageFolder:
BxDolFactory iBxDolSingleton BxDolLogsStoragePHPLog BxDolLogsStorageSTDErr

Public Member Functions

 __clone ()
 
 add ($oObject, $mixed)
 
 get ($oObject, $iLines, $sFilter=false)
 
 isFilterAvail ()
 
 isGetAvail ()
 

Static Public Member Functions

static getInstance ()
 

Protected Member Functions

 formatLogString ($oObject, $mixed, $bIncludeObjectName=false)
 

Constructor & Destructor Documentation

◆ __construct()

BxDolLogsStorageFolder::__construct ( )
protected

Reimplemented from BxDolFactory.

Member Function Documentation

◆ __clone()

BxDolLogsStorageFolder::__clone ( )

Prevent cloning the instance

◆ add()

BxDolLogsStorageFolder::add ( $oObject,
$mixed )

Write to log

Parameters
$oObjectlogs object
$mixedstring or array to log
Returns
true on success or false on error

Reimplemented in BxDolLogsStoragePHPLog, and BxDolLogsStorageSTDErr.

◆ get()

BxDolLogsStorageFolder::get ( $oObject,
$iLines,
$sFilter = false )

Get logs

Parameters
$oObjectlogs object
$iLinesnumber of lines from the tail
$sFilterfilter lines which include this phrase
Returns
array of strings

Reimplemented in BxDolLogsStoragePHPLog, and BxDolLogsStorageSTDErr.

◆ getInstance()

static BxDolLogsStorageFolder::getInstance ( )
static

Get singleton instance of the class

Implements iBxDolSingleton.

Reimplemented in BxDolLogsStoragePHPLog, and BxDolLogsStorageSTDErr.

◆ isFilterAvail()

BxDolLogsStorageFolder::isFilterAvail ( )

Check if filtering supported in get method

Reimplemented in BxDolLogsStoragePHPLog, and BxDolLogsStorageSTDErr.

◆ isGetAvail()

BxDolLogsStorageFolder::isGetAvail ( )

Check if get method available

Reimplemented in BxDolLogsStoragePHPLog, and BxDolLogsStorageSTDErr.


The documentation for this class was generated from the following file: