[][src]Trait nakadion::consumer::LoggingAdapter

pub trait LoggingAdapter: Send + Sync + 'static {
    fn debug(&self, context: &LoggingContext, args: Arguments);
fn info(&self, context: &LoggingContext, args: Arguments);
fn warn(&self, context: &LoggingContext, args: Arguments);
fn error(&self, context: &LoggingContext, args: Arguments); }

An adapter for pluggable logging.

Implementors can be used by the Consumer

Required methods

fn debug(&self, context: &LoggingContext, args: Arguments)

fn info(&self, context: &LoggingContext, args: Arguments)

fn warn(&self, context: &LoggingContext, args: Arguments)

fn error(&self, context: &LoggingContext, args: Arguments)

Loading content...

Implementors

impl LoggingAdapter for DevNullLogger[src]

impl LoggingAdapter for LogLogger[src]

impl LoggingAdapter for SlogLogger[src]

impl LoggingAdapter for StdErrLogger[src]

impl LoggingAdapter for StdOutLogger[src]

Loading content...