The formatter associated with the handler.
The formatter associated with the handler.
The log level associated with the handler.
The log level associated with the handler.
Log a message, wherever the handler logs its output.
Log a message, wherever the handler logs its output. The method will only be called if the message's level is below or equal to the level associated with the handler.
the already-formatted message to log
the raw log message, in case the pieces are needed
Handler that emails each message, separate, to a set of recipients.
args
must contain:-
sender
: Email address of sender. -recipients
: comma-separated list of email addresses to receive log messages.args
may also contain:-
smtp.server
: hostname of SMTP server. Defaults to "localhost". -smtp.port
: integer port on which SMTP server accepts messages. Defaults to 25. -subject
: Subject of message. Subject may contain "%l" for the level name. Defaults to: %l message