package handler
Type Members
- class ConsoleHandler extends Handler
Simple file handler that logs to standard output.
- class EmailHandler extends Handler
Handler that emails each message, separate, to a set of recipients.
Handler that emails each message, separate, to a set of recipients.
argsmust contain:-
sender: Email address of sender. -recipients: comma-separated list of email addresses to receive log messages.argsmay 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 - class FileHandler extends Handler
Simple file handler that appends to a file.
Simple file handler that appends to a file.
argsmust contain:-
path: Pathname of fileargsmay also contain:-
append: "true" (as a string) to append, "false" to overwrite. Default: "false". - trait Handler extends AnyRef
Basic interface for a handler that dispatches log messages.
- class NullHandler extends Handler
Simple handler discards messages.