NAME
Infobot::Plugin::Log::Base - Logger base class
LOG LEVELS
0. Fatal errors 1. Critical errors 2. Non-critical warnings and complaints 3. Plugin tick over - any plugins that are hit say they're hit 4. 5. All messages incoming - whether addressed or not - [default] 6. Plugin important - plugins describe what they're doing 7. Plugin detailed - plugins describe in detail what they're doing 8. All incoming events - _default et al 9. All possible information
init
Calls set_name
, and register
set_name
Safetly stashes the log level and reads in values from the config file.
register
Adds the log to the multiplexer's store
write
Checks that the log level is appropriate, and if it is, passes the message through to the output
method.
level
Accessor to logging level