-
Couldn't load subscription status.
- Fork 97
slog v2
Dawid Ciężarkiewicz edited this page Mar 8, 2017
·
28 revisions
slog = "2.0.0-1.0"
slog-async = "2.0.0-1.0"
slog-json = "2.0.0-1.0"
slog-bunyan = "2.0.0-1.0"
slog-term = "2.0.0-1.0"
slog-scope = "2.0.0-1.0"
slog-stdlog = "2.0.0-0.1"
slog-envlogger = "2.0.0-1.0"
Slog v2 will is being developed in the 0.x.y model, that was used to release 1.0.0. slog 2.0.0-1.0 should be treated as 0.1.0 version was, just working toward 2.0.0 release.
It's recommended to use the following to specify the dependeny on pre-release versions of crates ported to slog.
slog = "2.0.0-x"
eg.
slog = ~2.0.0-1"
- Refactored key-value pairs traits and structures
- Renamed some types
- Support chaining of
OwnedKVLists - Added associated
Oktype toDrain - Refactored
Recordto optimize performance on async operations - Minimal rustc version required:
1.15.0 -
DrainExthas been removed and utility methods moved directly toDrain
-
slog-extrahas been renamed toslog-asyncsince that's the only functionality it contained. -
slog-streamis obsoleted and won't be used inslog v2at all. It was a wrong abstraction.Decoratorsfunctionality will be moved directly toslog-term. -
slog-termwill provide openiotraits to allow multiple terminal / file writing backends.