UNA
Loading...
Searching...
No Matches
BxDolLog Class Reference
Inheritance diagram for BxDolLog:
BxDolFactory iBxDolSingleton

Public Member Functions

 __clone ()
 
 reset ()
 
 setFile ($sFile)
 
 setName ($sName)
 
 write ()
 

Static Public Member Functions

static getInstance ()
 

Protected Attributes

 $_sFile
 
 $_sName
 

Constructor & Destructor Documentation

◆ __construct()

BxDolLog::__construct ( )
protected

Reimplemented from BxDolFactory.

Member Function Documentation

◆ __clone()

BxDolLog::__clone ( )

Prevent cloning the instance

◆ getInstance()

static BxDolLog::getInstance ( )
static

Get singleton instance of the class

Implements iBxDolSingleton.

◆ reset()

BxDolLog::reset ( )

Reset custom log file and log name to be empty to ready for future usage.

◆ setFile()

BxDolLog::setFile ( $sFile)

Set custom log file. The file should have necessary permissions.

Parameters
string$sFile- full path to custom log file.

◆ setName()

BxDolLog::setName ( $sName)

Set log name. Log file will be created\updated in standard log directory.

Parameters
string$sName- log file name without path and extension.

◆ write()

BxDolLog::write ( )

Writes content to a log file. Can get any number of arguments to be written in one write session. Each argument can be a string, an array or an object.


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