Skip to content

Commit 67331aa

Browse files
committed
Fix README
1 parent a8a1518 commit 67331aa

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

README.md

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,33 @@
1-
# `slog-envlogger` - Port of `env_logger` as a `slog-rs` drain
2-
31
<p align="center">
4-
<a href="https://travis-ci.org/dpc/slog-envlogger">
5-
<img src="https://img.shields.io/travis/dpc/slog-envlogger/master.svg?style=flat-square" alt="Travis CI Build Status">
2+
<a href="https://travis-ci.org/slog-rs/envlogger">
3+
<img src="https://img.shields.io/travis/slog-rs/envlogger/master.svg?style=flat-square" alt="Travis CI Build Status">
64
</a>
75
<a href="https://crates.io/crates/slog-envlogger">
86
<img src="http://meritbadge.herokuapp.com/slog?style=flat-square" alt="crates.io">
97
</a>
10-
<a href="https://gitter.im/dpc/slog-rs">
11-
<img src="https://img.shields.io/badge/GITTER-join%20chat-green.svg?style=flat-square" alt="Gitter Chat">
8+
<a href="https://gitter.im/slog-rs/slog">
9+
<img src="https://img.shields.io/gitter/room/slog-rs/slog.svg" alt="slog-rs Gitter Chat">
1210
</a>
1311
<br>
1412
<strong><a href="https://docs.rs/slog-envlogger/">Documentation</a></strong>
1513
</p>
1614

15+
# `slog-envlogger` - Port of `env_logger` as a [`slog-rs`[slog-rs] drain
16+
1717
`env_logger` is a de facto standard Rust logger implementation, which allows
1818
controlling logging to `stderr` via the `RUST_LOG` environment variable.
1919

20-
This is a fork of `env_logger` that makes it work as a `slog-rs` drain:
20+
This is a fork of `env_logger` that makes it work as a `slog-rs` drain.
2121

2222
Notable changes:
2323

2424
* Support for `slog-stdlog` to provide support for legacy `info!(...)` like
2525
statements.
26-
* `envlogger` does not do formatting anymore: `slog-envlogger` can be composed
26+
* `envlogger` does not do any formatting anymore: `slog-envlogger` can be composed
2727
with any other `slog-rs` drains, so there's no point for it to provide it's
28-
own formatting. You can now output JSON to a file, controlling it via
29-
`RUST_LOG` environment var. `envlogger::init()` is provided for convenience
30-
doing formatting to `stderr`
28+
own formatting. You can now output to a file, use JSON, have color output
29+
or any other future that `slog` ecosystem provides, controlling it via
30+
`RUST_LOG` environment var.
3131

3232
### Status & news
3333

@@ -48,3 +48,4 @@ For more proper (and powerful) version see
4848
Using `slog-stdlog` scopes you can make parts of the code log additional information (see [`scopes` example][scopes]):
4949

5050
[scopes]: examples/scopes.rs
51+
[slog-rs]: //github.com/slog-rs/slog

0 commit comments

Comments
 (0)