Skip to main content

Crate eventline

Crate eventline 

Source

Re-exports§

pub use core::EventKind;
pub use core::ScopeId;
pub use core::ScopeGuard;
pub use core::RuntimeScopeGuard;
pub use core::ExitMessages;
pub use core::RecordId;
pub use core::Value;
pub use journal::Journal;
pub use journal::Writer;
pub use journal::StdoutWriter;
pub use journal::FileWriter;
pub use journal::MultiWriter;
pub use journal::rotation::LogPolicy;
pub use runtime::init;
pub use runtime::enable_console_output;
pub use runtime::enable_console_color;
pub use runtime::enable_console_duration;
pub use runtime::enable_console_timestamp;
pub use runtime::enable_file_output;
pub use runtime::enable_file_output_rotating;
pub use runtime::disable_file_output;
pub use runtime::disable_all_output;
pub use runtime::flush;
pub use runtime::records;
pub use runtime::scopes;
pub use runtime::emit;
pub use runtime::scope_guard;
pub use runtime::enter_scope;
pub use runtime::set_scope_exit_messages;
pub use runtime::exit_scope;
pub use runtime::run_header::RunHeader;
pub use runtime::LogLevel;
pub use runtime::get_log_level;
pub use runtime::set_log_level;

Modules§

core
journal
macros
render
runtime

Macros§

debug
Log at DEBUG level.
error
Log at ERROR level.
info
Log at INFO level.
scope
Run a block inside a named scope.
warn
Log at WARN level.

Structs§

Setup
High-level configuration used to initialize the eventline runtime.

Enums§

FileSetup
File logging configuration options.

Functions§

setup
Initialize and configure the eventline runtime.