◆ __construct()
BxDolLog::__construct |
( |
| ) |
|
|
protected |
◆ __clone()
Prevent cloning the instance
◆ getInstance()
static BxDolLog::getInstance |
( |
| ) |
|
|
static |
◆ 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()
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: