timely::logging

Type Alias TimelyLogger

Source
pub type TimelyLogger = TypedLogger<TimelyEventBuilder, TimelyEvent>;
Expand description

Logger for timely dataflow system events.

Aliased Type§

struct TimelyLogger { /* private fields */ }

Implementations

Source§

impl<CB, T> TypedLogger<CB, T>
where CB: ContainerBuilder,

Source

pub fn log<S>(&self, event: S)
where S: Into<T>, CB: PushInto<(Duration, T)>,

Logs an event. Equivalent to Logger::log, with the exception that it converts the event to T before logging.

Source

pub fn log_many<I>(&self, events: I)
where I: IntoIterator, <I as IntoIterator>::Item: Into<T>, CB: PushInto<(Duration, T)>,

Logs multiple events. Equivalent to Logger::log_many, with the exception that it converts the events to T before logging.

Trait Implementations

Source§

impl<CB, T> Clone for TypedLogger<CB, T>
where CB: ContainerBuilder,

Source§

fn clone(&self) -> TypedLogger<CB, T>

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<CB, T> Debug for TypedLogger<CB, T>
where CB: Debug + ContainerBuilder, T: Debug,

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>

Formats the value using the given formatter. Read more
Source§

impl<CB, T> Deref for TypedLogger<CB, T>
where CB: ContainerBuilder,

Source§

type Target = Logger<CB>

The resulting type after dereferencing.
Source§

fn deref(&self) -> &<TypedLogger<CB, T> as Deref>::Target

Dereferences the value.
Source§

impl<CB, T> From<Logger<CB>> for TypedLogger<CB, T>
where CB: ContainerBuilder,

Source§

fn from(inner: Logger<CB>) -> TypedLogger<CB, T>

Converts to this type from the input type.