194 Commits

Author SHA1 Message Date
David Tolnay
98abd8feea
Bump log to 0.3.8 and env_logger to 0.4.3 env_logger-0.4.3 0.3.8 2017-05-23 19:46:09 -07:00
Alex Crichton
cf501f6375 Merge pull request #160 from opilar/bugfix/documentation-link
Docs link to docs.rs
2017-05-21 10:28:28 -05:00
Alex Crichton
c7c232b921 Merge pull request #159 from opilar/feature/badges
Cargo.toml badges
2017-05-21 10:28:10 -05:00
Alex Crichton
044e328698 Merge pull request #158 from omh1280/crate_linkify
Linkified crate doc
2017-05-21 10:27:10 -05:00
Alex Crichton
85124a326c Merge pull request #157 from omh1280/loglevel_doc
LogLevel and LogLevelFilter doc improvements.
2017-05-21 10:26:52 -05:00
Alex Crichton
49c78892ef Merge pull request #155 from omh1280/macro_docs
Added macro examples
2017-05-21 10:24:13 -05:00
opilarium
29ffe46d7b Docs link to docs.rs 2017-05-21 02:38:40 +03:00
opilarium
bdae692f3e Cargo.toml badges 2017-05-21 02:21:27 +03:00
Ottavio Hartman
7251e3000b Linkified the crate doc 2017-05-20 18:15:34 -04:00
Ottavio Hartman
328fa85b2b LogLevel and LogLevelFilter doc improvements. 2017-05-20 17:17:08 -04:00
Ottavio Hartman
d363f52c65 Added examples for the macros: debug, error, info, trace, and warn 2017-05-20 11:37:42 -04:00
David Tolnay
6c0840c363 Merge pull request #154 from nivkner/debug-impl
add Debug to LogMetadata and LogRecord
2017-05-20 07:28:11 -07:00
Niv
3cf0356e88 add Debug to LogMetadata and LogRecord 2017-05-20 11:26:58 +03:00
David Tolnay
1e0a7fd37b Merge pull request #153 from omh1280/env_logger_doc
Replaced my_logger with env_logger in docs
2017-05-19 22:36:34 -07:00
Ottavio Hartman
e56d4bd7f7 Clearer comment 2017-05-20 01:29:17 -04:00
Ottavio Hartman
5c6ad56dfd Replaced my_logger with env_logger in docs 2017-05-20 01:15:21 -04:00
David Tolnay
81432f5a49 Merge pull request #152 from omh1280/log_doc
log! macro documentation
2017-05-19 22:12:40 -07:00
Ottavio Hartman
f6167b7841 Added another argument 2017-05-20 00:59:10 -04:00
Ottavio Hartman
e3005bea6d Simple log! example 2017-05-20 00:47:21 -04:00
David Tolnay
eb90d0e2ad Merge pull request #151 from omh1280/impl_traits
Implemented common traits for LogLevel, LogLevelFilter, LogMetadata, …
2017-05-19 18:24:43 -07:00
Ottavio Hartman
b0e3188a2e Implemented common traits for LogLevel, LogLevelFilter, LogMetadata, LogLocation 2017-05-19 20:56:44 -04:00
Steven Fackler
3f9c346fd5 Merge pull request #111 from brson/doc
Minor crate doc tweaks
2017-05-12 18:03:24 -07:00
Brian Anderson
d156eb591e Minor crate doc tweaks 2017-05-12 14:15:55 -07:00
Steven Fackler
cb9fa28812 Merge pull request #110 from frewsxcv/patch-1
Indicate where `LogRecord` is used.
2017-05-08 19:30:27 -07:00
Corey Farwell
5b000ada6e Indicate where LogRecord is used. 2017-05-08 21:27:54 -04:00
Steven Fackler
4195412718 Merge pull request #105 from dbrgn/log-target
Make log target configurable
2017-04-18 10:58:17 +02:00
Danilo Bargen
a16173429d Make log target configurable
Right now `env_logger` always logs to stderr. This might be
undesireable in some cases.

This commit adds a way to configure the log target. It can be set to
stdout if desired.

Note that writing to stdout is implemented with `println!` instead of
`writeln!`, so that the output is properly captured in tests.
2017-03-29 14:54:50 +02:00
Alex Crichton
25e349c738 Bump log to 0.3.7 and env_logger to 0.4.2 0.3.7 env_logger-0.4.2 2017-03-07 20:41:14 -08:00
Alex Crichton
d08adb4b0a Merge pull request #101 from shepmaster/patch-1
Add categories to Cargo.toml
2017-03-07 22:39:42 -06:00
Alex Crichton
aa137f5b9e Merge pull request #104 from alexcrichton/unstable
Add ability to be used in rustc
2017-03-07 22:39:30 -06:00
Alex Crichton
c87faeb706 Add ability to be used in rustc
I'm prototyping support for pulling in crates.io crates into rustc and I believe
this'll be the support necessary for living in the sysroot.
2017-03-07 16:12:42 -08:00
Steven Fackler
46103daae0 Release env_logger 0.4.1 env_logger-0.4.1 2017-02-25 11:00:00 -08:00
Steven Fackler
2f9dceb5e6 Merge pull request #103 from sfackler/license-fix
Add LICENSE files to env_logger as well
2017-02-25 10:45:15 -08:00
Steven Fackler
523a8e809d Add LICENSE files to env_logger as well
Closes #102
2017-02-25 10:38:28 -08:00
Jake Goulding
70d3ba3ccd Add categories to Cargo.toml 2017-01-20 15:12:53 -05:00
Steven Fackler
d0c2f474e5 Release env_logger 0.4 env_logger-0.4.0 2017-01-15 10:44:46 -08:00
Steven Fackler
ae12c15ea6 Merge pull request #98 from Aaronepower/master
Updated Regex dependency
2017-01-15 10:43:08 -08:00
Aaron Power
7692a41927 Updated Regex dependency 2017-01-02 01:15:40 +00:00
Alex Crichton
2f4c0b5224 Update travis token 2016-11-19 10:14:38 -08:00
Alex Crichton
48b032cf17 Bump env-logger to 0.3.5 env_logger-0.3.5 2016-09-13 17:00:53 -07:00
Steven Fackler
4677eeea77 Merge pull request #96 from rust-lang-nursery/optional
Make regex an optional dependency
2016-09-06 10:56:45 -05:00
Alex Crichton
9bba3d5fd5 Make regex an optional dependency
Not all uses of env-logger require a full regex engine for matching, for example
the compiler works with just simple substring matching. Additionally compiling
regex can often take quite a bit of time, so for those that would prefer the
filtering can be disabled.
2016-09-01 16:12:37 -07:00
Alex Crichton
d040d3236a Merge pull request #90 from sfackler/deprecate-log-panics
Deprecate log_panics
2016-07-30 17:43:28 -07:00
Steven Fackler
ea842c5c81 Deprecate log_panics 2016-07-30 10:49:14 -07:00
Steven Fackler
41c570079c Bump env-logger to 0.3.4 env_logger-0.3.4 2016-07-11 19:45:48 +02:00
Steven Fackler
a95b888614 Merge pull request #86 from asajeffrey/make-env-logger-public
Made Logger public.
2016-07-11 17:44:14 +01:00
Alan Jeffrey
415469589e Made Logger public. 2016-06-22 17:05:13 -05:00
Alex Crichton
c679ad4f2c Remove unused import 2016-05-10 10:15:27 -07:00
Alex Crichton
e00bc558e3 Bump env_logger to 0.3.3 env_logger-0.3.3 2016-04-04 09:07:51 -07:00
Alex Crichton
1c79a9c8dd Bump to 0.3.6 0.3.6 2016-04-01 15:53:18 -07:00