|
UNA
|
Public Member Functions | |
| __clone () | |
| reset () | |
| setFile ($sFile) | |
| setName ($sName) | |
| write () | |
Static Public Member Functions | |
| static | getInstance () |
Protected Attributes | |
| $_sFile | |
| $_sName | |
|
protected |
Reimplemented from BxDolFactory.
| BxDolLog::__clone | ( | ) |
Prevent cloning the instance
|
static |
Get singleton instance of the class
Implements iBxDolSingleton.
| BxDolLog::reset | ( | ) |
Reset custom log file and log name to be empty to ready for future usage.
| BxDolLog::setFile | ( | $sFile | ) |
Set custom log file. The file should have necessary permissions.
| string | $sFile | - full path to custom log file. |
| BxDolLog::setName | ( | $sName | ) |
Set log name. Log file will be created\updated in standard log directory.
| string | $sName | - log file name without path and extension. |
| 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.