Struct gelf::NullBackend
[−]
[src]
pub struct NullBackend;
The NullBackend
is a utility backend which discards all messages
Methods
impl NullBackend
[src]
fn new() -> NullBackend
Construct a new NullBackend
Trait Implementations
impl Backend for NullBackend
[src]
fn log_message(&self, _: WireMessage) -> Result<()>
Log a message.
Logging a message with NullBackend is a noop and will never fail.