Crate slog [] [src]

Reexports

pub use logger::Logger;
pub use logger::RecordInfo;
pub use ser::{PushLazy, ValueSerializer, Serializer, Serialize};

Modules

drain

Drains - logging outputs

format

Output formating

logger

Logger - logging handle

ser

Serialization

Macros

crit!

Log critical level record

debug!

Log debug level record

error!

Log error level record

info!

Log info level record

log!

Log message of a given level

o!

Convenience function for building &[OwnedKeyValue]

slog_crit!

Log critical level record

slog_debug!

Log debug level record

slog_error!

Log error level record

slog_info!

Log info level record

slog_log!

Alias for log

slog_trace!

Log trace level record

slog_warn!

Log warning level record

trace!

Log trace level record

warn!

Log warning level record

Structs

Error
OwnedKeyValueNode

Values specific for this Logger and reference to it's parent values

OwnedKeyValueNodeIterator

Iterator over OwnedKeyValue-s

Enums

ErrorKind
FilterLevel

Logging filtering level

Level

Log record level

Statics

LOG_LEVEL_NAMES

Official capitalized logging (and logging filtering) level names

LOG_LEVEL_SHORT_NAMES

Official capitalized logging (and logging filtering) short level names

Type Definitions

BorrowedKeyValue

Key value pair that can be part of each logging record

OwnedKeyValue

Key value pair that can be owned by Logger

Result