Module abscissa_core::prelude
source · Expand description
Core prelude: imported in every application’s prelude.rs
Re-exports
Modules
Tracing macros
Events represent single points in time during the execution of a program.
Tracing macros
Spans represent periods of time in which a program was executing in a
particular context.
Macros
Tracing macros
Constructs an event at the debug level.
Ensure a condition holds, returning an error if it doesn’t (ala assert)
Tracing macros
Constructs an event at the error level.
Tracing macros
Constructs a new
Event
.Create and return an error with a formatted message
Terminate the application with a fatal error, running Abscissa’s shutdown hooks.
Create a new error (of a given kind) with a formatted message
Tracing macros
Constructs an event at the info level.
Tracing macros
Constructs a new span.
Print an error message (in red if colors are enabled)
Print an informational status message (in cyan if colors are enabled)
Print a success status message (in green if colors are enabled)
Print a warning status message (in yellow if colors are enabled)
Tracing macros
Constructs an event at the trace level.
Tracing macros
Constructs an event at the warn level.
Structs
Tracing macros
Describes the level of verbosity of a span or event.
Traits
Runnable
is a common trait for things which can be run without any
arguments.