Skip to content
/ slog-conf Public

Highly customizable runtime-configuration for slog-rs/slog with opinionated defaults.

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

qzed/slog-conf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Slog Conf

Build Status

Highly customizable runtime-configuration for slog-rs/slog and its backends with opinionated defaults.

This crate can be used to create and configure a slog logger using configuration files. It takes care of serialization, deserialization, and creation of Drains and Loggers. While the defaults provided by this crate are somewhat opinionated (i.e. always creating an Async drain using slog_async), all of these default implementations can be replaced by your custom implementations without too much of a hassle. Have a look at the API-documentation for more detail, or the examples directory for some examples.

Currently under development

This crate is in a prototype-state and is thus not (yet) on crates.io.

If you still want to use this crate, simply add

slog-conf = { git = "https://github.com/qzed/slog-conf", branch = "master" }

to the [dependencies] section in your Cargo.toml file. There are no guarantees for stability, you may however want to choose a specific tag instead of a branch if this is your concern.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

About

Highly customizable runtime-configuration for slog-rs/slog with opinionated defaults.

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

No packages published