The Log::Dispatch infrastructure has quite a large number of output TYPEs, each extending the Log::Dispatch::Output base-class. You do not create these objects yourself: Log::Report is doing it for you.
The Log::Dispatch back-ends are very careful with validating their parameters, so you will need to restrict the options to what is supported for the specific back-end. See their respective manual-pages. The errors produced by the back-ends quite horrible and untranslated, sorry.
Option | Defined in | Default |
---|---|---|
accept | Log::Report::Dispatcher |
|
callbacks | [] | |
charset | Log::Report::Dispatcher |
|
format_reason | Log::Report::Dispatcher | 'LOWERCASE' |
locale | Log::Report::Dispatcher | <system locale> |
max_level |
| |
min_level |
| |
mode | Log::Report::Dispatcher | 'NORMAL' |
to_level | [] |
Returns the Log::Dispatch::Output object which is used for logging.
Returns a level which is understood by Log::Dispatch, based on a translation table. This can be changed with new(to_level).