package receiver
Contains all of the built-in support for receivers, which are the leaves of dispatcher routing graphs. Receivers do something with entries. Exactly what they do depends on the implementation.
- Alphabetic
- By Inheritance
- receiver
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
class
ConsoleErrReceiver extends ConsoleReceiver
A Receiver that formats entries and writes them to scala's Console.err (which normally points to stderr but can be redirected).
-
class
ConsoleOutReceiver extends ConsoleReceiver
A Receiver that formats entries and writes them to scala's Console.out (which normally points to stdout but can be redirected).
-
class
DelegatingReceiver extends Receiver
A Receiver that delegates all calls to another Receiver, specified at construction.
-
trait
Receiver extends AnyRef
Marks a class that is capable of receiving entries and doing something interesting with them.
Marks a class that is capable of receiving entries and doing something interesting with them. What exactly it does is up to the implementation, but common behaviors are writing to a local log file or sending to a log aggregation service.
-
class
WriterBasedReceiver extends Receiver
Implements a Receiver that formats entries with an EntryFormatter and then writes them to a Writer.
Implements a Receiver that formats entries with an EntryFormatter and then writes them to a Writer. The Writer is specified using a writer creation function so that this receiver can recreate the Writer as many times as it needs to. This may happen if
close()is called before the last timereceive(Entry)is called. Whenreceive(Entry)is called afterclose(), the function is used to recreate the Writer. This functionality is used to support logrotate integration (or other utilities that would need a log file to be reopened). -
class
WriterBasedStackableReceiver extends WriterBasedReceiver
A stackable version of the WriterBasedReceiver.