41 Commits

Author SHA1 Message Date
Alex Crichton
25e349c738 Bump log to 0.3.7 and env_logger to 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 2017-02-25 11:00:00 -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 2017-01-15 10:44:46 -08:00
Aaron Power
7692a41927 Updated Regex dependency 2017-01-02 01:15:40 +00:00
Alex Crichton
48b032cf17 Bump env-logger to 0.3.5 2016-09-13 17:00:53 -07: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
Steven Fackler
41c570079c Bump env-logger to 0.3.4 2016-07-11 19:45:48 +02: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 2016-04-04 09:07:51 -07:00
Philipp Sieweck
8dddf77537 Added test case for checking regular expression filters 2016-01-28 18:46:01 +01:00
Philipp Sieweck
3bb83ac7db Fixed handling of filter regexps.
Regexps in RUST_LOG as explained in the module documentation should
only allow log messages that match the given expression and not the
other way around.
2016-01-12 15:59:59 +01:00
Alex Crichton
c2cee9a6e4 Bump to 0.3.2 2015-11-04 17:56:53 -08:00
Alex Crichton
7a66c45a8d Touch up some style and docs 2015-11-04 17:56:41 -08:00
Nick Sanders
5acb6e454f env_logger: Add LogBuilder to allow changing the log format, default log level and the environmental variable used. This adds format to the Logger struct 2015-11-01 11:38:49 +00:00
Steven Fackler
63fee41a26 Document where env-logger logs
Closes #45
2015-06-16 22:58:19 -07:00
Alex Crichton
f31bf9e516 Bump env_logger to 0.3.1 2015-05-18 08:48:23 -07:00
Steven Fackler
f2aad6bb23 Fix default log level
Turns out we did actually use to log errors by default!
2015-05-17 23:04:49 -07:00
Steven Fackler
725d22cafd Don't add an extra mutex around stderr
It's synchronized internally so there's no reason to slap another mutex
on top.
2015-05-12 23:11:54 -07:00
Steven Fackler
28d066f48d Set max log level to off if no directives 2015-05-12 23:09:19 -07:00
Steven Fackler
76a6a0374b Fix env logger docs
Logging is disabled by default.

Closes #39
2015-05-12 23:09:00 -07:00
Alex Crichton
c33b2a9564 Bump to 0.3.1 2015-03-28 11:21:45 -07:00
Huon Wilson
1e8c331c9b Bump env to 0.3.0 also. 2015-03-24 17:34:50 +11:00
Huon Wilson
201912024f Bump env_logger to 0.2.3. 2015-03-23 12:12:11 +11:00
Alex Crichton
f9a42ca139 Update to rust master 2015-03-14 11:03:55 -07:00
Alex Crichton
4c7e9669a1 Move from old_io to io 2015-03-12 13:53:12 -07:00
Steven Fackler
207e329267 Encapsulate data passed to Log::enabled
We may want to add things to the information provided to `log` and
`enabled`. slf4j provides the ability to pass `Marker` objects when
logging which can be used for more advanced filtering for example.
2015-03-07 22:34:39 -08:00
Steven Fackler
2ee7110a8f "Encapsulate" LogLocation
We can't make it fully private but we can mangle the field names and
hide them from the docs. It's important to keep the internals of
`LogLocation` hidden so that we have the option of e.g. adding the
function name if such a syntax extension's added to rustc or switching
the implementation to look at debug info.
2015-03-07 21:53:54 -08:00
Alex Crichton
44e65c378d Use correct feature name 2015-02-23 23:41:48 -08:00
Alex Crichton
822fb04cb6 Update to rust master 2015-02-12 10:48:27 -08:00
Alex Crichton
8bfcc46d9f Bump to 0.2.2 2015-02-04 08:16:37 -08:00
Matthew Maurer
63d573cc2c Fix FromStr and attributes for env_logger 2015-02-03 10:15:25 -05:00
Alex Crichton
ca7858198d Bump env_logger to 0.2.1 2015-01-28 07:58:59 -08:00
Alex Crichton
a96ca990cb Travis and documentation tweaks 2015-01-27 07:30:34 -08:00
Steven Fackler
3cb3bff11b Add some documentation + copyright notices 2015-01-26 23:51:42 -08:00
Steven Fackler
abf0c0aafd Add env_logger 2015-01-26 23:25:43 -08:00