|
| dispose () |
| Usually called automatically from shutdown manager, this allows us to implement buffering of write operations.
|
|
| get_readers ($interface=null) |
| Returns list of available log readers.
|
|
| get_supported_logstores ($component) |
| For a given report, returns a list of log stores that are supported.
|
|
| get_supported_reports ($logstore) |
| Get a list of reports that support the given store instance.
|
|
| process (\core\event\base $event) |
| Called from the observer only.
|
|
|
| init () |
| Delayed initialisation of singleton.
|
|
|
core log reader[] | $readers |
| $readers list of initialised log readers
|
|
tool_log log store[] | $stores |
| $stores list of all enabled stores
|
|
tool_log log writer[] | $writers |
| $writers list of initialised log writers
|
|
◆ dispose()
tool_log\log\manager::dispose |
( |
| ) |
|
Usually called automatically from shutdown manager, this allows us to implement buffering of write operations.
Implements core\log\manager.
◆ get_readers()
tool_log\log\manager::get_readers |
( |
| $interface = null | ) |
|
Returns list of available log readers.
This way the reports find out available sources of data.
- Parameters
-
string | $interface | Returned stores must implement this interface. |
- Return values
-
core\log\reader[] | list of available log data readers |
Implements core\log\manager.
◆ get_store_plugins()
static tool_log\log\manager::get_store_plugins |
( |
| ) |
|
|
static |
Intended for store management, do not use from reports.
- Return values
-
store[] | Returns list of available store plugins. |
◆ get_supported_logstores()
tool_log\log\manager::get_supported_logstores |
( |
| $component | ) |
|
For a given report, returns a list of log stores that are supported.
- Parameters
-
string | $component | component. |
- Return values
-
false|array | list of logstores that support the given report. It returns false if the given $component doesn't require logstores. |
Implements core\log\manager.
◆ get_supported_reports()
tool_log\log\manager::get_supported_reports |
( |
| $logstore | ) |
|
Get a list of reports that support the given store instance.
- Parameters
-
string | $logstore | Name of the store. |
- Return values
-
array | List of supported reports |
◆ process()
Called from the observer only.
- Parameters
-
The documentation for this class was generated from the following file:
- admin/tool/log/classes/log/manager.php