
Infobot::Plugin::Log::ANSIColor - Relay and colour logging messages to STDOUT

Output logging messages, coloured by logging level, to STDOUT

log:
...
'Pretty Terminal Colours':
class : Infobot::Plugin::Log::ANSIColor
level : 9
extras:
colours:
levels:
1: bold red
3: bold yellow
5: bold white
default: white
package: cyan
divider: bold white

The logging level at and above which to record. 9 is the lowest, 1 is the highest. See Infobot::Log::Base for more details.
The colour (according to those available from Term::ANSIColor) to use for each logging level. Note that these expand upward - in the above example, 5 and 4 are bold white, 3 and 2 are bold yellow, and 1 is bold red, while 9-5 are the default colour, white.
The default logging colour, the package name colour, and the divider colour, respectively.

Pete Sergeant -- pete@clueball.com

Copyright Pete Sergeant.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.