Crate emit_core

Source
Expand description

A diagnostic framework for Rust applications.

This library is the core API of emit, defining the fundamental abstractions used by the higher-level emit crate. This library is home to event::Event, emit’s model of diagnostic data through with their template::Template, props::Props, and extent::Extent.

In this library is also the all-encapsulating runtime::Runtime, which collects the platform capabilities and event processing pipeline into a single value that powers the diagnostics for your applications.

If you’re looking to explore and understand emit’s API, you can start with runtime::Runtime and event::Event and follow their encapsulated types.

If you’re looking to use emit in an application you can use this library directly, but emit itself is recommended.

Modules§

and
The And type.
clock
The Clock type.
ctxt
The Ctxt type.
emitter
The Emitter type.
empty
The Empty type.
event
The Event type.
extent
The Extent type.
filter
The Filter type.
or
The Or type.
path
The Path type.
props
The Props type.
rng
The Rng type.
runtime
The Runtime type.
str
The Str type.
template
The Template type.
timestamp
The Timestamp type.
value
The Value type.
well_known
Extensions to the diagnostic model using well-known properties.

Functions§

emit
Emit an event.