the formatter to use to format the entries
the optional charset to use for encoding the entry text (defaults to the process default)
Closes the receiver.
Closes the receiver. This means that the resources held by this receiver should be released in preparation for it being decommissioned. This usually happens before system shutdown, but it does not necessarily mean that this receiver will not receive any more entries. Receviers can be closed simply to release file system or network resources.
This method must handle any flushing that is required prior to any resource deallocation. Timber will not
necessarily call flush()
before close()
.
the essential behavior of this receiver (i.e., what it does with entries)
the essential behavior of this receiver (i.e., what it does with entries)
Tells this receiver to flush any buffered entries that it has received but not yet fully processed.
Tells this receiver to flush any buffered entries that it has received but not yet fully processed. This makes it possible for this receiver to improve performance by batching I/O work.
Receives an Entry for processing.
Receives an Entry for processing. There is no initialization method for receivers, so this method must handle resource initialization on the first call after construction or after closure.
the entry being received by this receiver
A StackableReceiver that formats entries and writes them to scala's Console.err (which normally points to stderr but can be redirected).