Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
Functions | Variables
tool_log\helper Namespace Reference

  More...

Functions

 dispose ()
 Push any remaining events to the database. More...
 
 flush ()
 Flush event buffer.
 
 get_config ($name, $default=null)
 Get a config value for the store. More...
 
 helper_setup (\tool_log\log\manager $manager)
 Setup store specific variables. More...
 
 insert_event_entries ($evententries)
 Bulk write a given array of events to the backend. More...
 
 is_event_ignored (\core\event\base $event)
 Should the event be ignored (== not logged)? More...
 
 write (\core\event\base $event)
 Write event in the store with buffering. More...
 

Variables

array $buffersize
 $buffer buffer size of events.
 
string $component
 $component Frankenstyle store name.
 
int $count = 0
 $count Counter.
 
bool $jsonformat = false
 If true, writes JSON instead of PHP serialized data for 'other' field.
 
string $store
 $store name of the store.
 
trait buffered_writer
 Helper trait buffered_writer. More...
 
trait store
 Helper trait store. More...
 

Detailed Description