◆ __clone()
BxDolLogsStorageFolder::__clone |
( |
| ) |
|
Prevent cloning the instance
◆ add()
BxDolLogsStorageFolder::add |
( |
|
$oObject, |
|
|
|
$mixed |
|
) |
| |
Write to log
- Parameters
-
$oObject | logs object |
$mixed | string or array to log |
- Returns
- true on success or false on error
◆ get()
BxDolLogsStorageFolder::get |
( |
|
$oObject, |
|
|
|
$iLines, |
|
|
|
$sFilter = false |
|
) |
| |
Get logs
- Parameters
-
$oObject | logs object |
$iLines | number of lines from the tail |
$sFilter | filter lines which include this phrase |
- Returns
- array of strings
◆ getInstance()
static BxDolLogsStorageFolder::getInstance |
( |
| ) |
|
|
static |
◆ isFilterAvail()
BxDolLogsStorageFolder::isFilterAvail |
( |
| ) |
|
Check if filtering supported in get
method
◆ isGetAvail()
BxDolLogsStorageFolder::isGetAvail |
( |
| ) |
|
Check if get
method available
The documentation for this class was generated from the following file:
- inc/classes/BxDolLogsStorageFolder.php