Steven Fackler
498a9444de
Rename the use_std feature to std
...
Closes #176
2017-10-12 21:12:54 -07:00
Steven Fackler
740f05f053
Stop publishing master docs
2017-09-30 22:27:00 -07:00
Steven Fackler
dc11b85c07
Restructure initialization setup
...
try_set_logger_raw is now set_logger and try_set_logger is now
set_boxed_logger. The use_std feature is now disabled by default. The
old set_logger has been removed.
When we did the crate evaluation for log, we wanted to add more variants
of set_logger that e.g. panicked by default, but I'm no longer convinced
that's a good idea. There are going to be very few instances of actually
calling these methods explicitly, since each logger implementation
should be providing their own init method that calls them. Having a huge
constellation of functions that all do basically the same thing just
makes things really confusing. We also don't want to encourage logger
implementations to only provide an init function that panics because a
common way of working with logging in tests is to try to init the system
in each test and ignore the result.
2017-09-30 21:31:07 -07:00
Alex Crichton
814340617b
Merge pull request #212 from sfackler/max-level-const
...
Turn __static_max_level() into a const
2017-08-12 11:15:19 -05:00
Steven Fackler
c538659838
Remove deprecated panic hook
2017-08-12 00:18:20 -07:00
Steven Fackler
3a846a6022
Turn __static_max_level() into a const
2017-08-12 00:13:52 -07:00
David Tolnay
5fac11ad3b
Merge pull requests 161 and 181
...
Conflicts:
Cargo.toml
src/lib.rs
2017-05-29 20:50:00 -07:00
Chris Fung
000a21bc8c
add ci config and fix use of feature flag
2017-05-29 17:04:40 -07:00
Chris Fung
8b1523aa2f
Add serde impls to LogLevel and LogLevelFilter
2017-05-29 16:26:34 -07:00
Meven
31f55c0545
Add serde impls for LogLevel/LogLevelFilter
2017-05-29 13:17:00 +02:00
Michal Budzynski
0d90b345db
Added keywords to log and env_logger Cargo.toml
2017-05-24 09:34:14 +02:00
morrme
73770c9fb1
add reminder to Cargo.toml
2017-05-23 22:59:06 -05:00
David Tolnay
01b1a844a3
Release log 0.3.8
...
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAABAgAGBQJZJPQRAAoJEPm6FDuV/22C48MP/iQsIhkkidP39e3jSwZ7nByp
68Y5Of3naMerJ/Kt21wWp+rGQ1f8ZE1hM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p5/x429eU+0ue
bomJKcmTmnQHrsiBY3tufVp2vJyeSasTrvVquCjvzpLlXNx5MgMLwSVArvAtnyiM
iIVInqdh31LR/vU8Y3JdQCO7tvheOOVqXXGYTcrZkCzwGkzAF8pylxkS+BTGdfA+
3wIOq+AhNRpTwJHAzNpnFo+d/sHqdw3j3IDr+EdeFAD8dyqeXfNhlwuFo/uOdgqj
PHxDQj8Ww27KgnHhiTRNnQuHIYqyVhC7QliGDEDIPYWFDvY6bvGQQGwHijICGaKz
nzzfXZXOc/7uPTgCi6t0l/+ei6o1SieX7Gg8Zz7niPXtjCI7O9HcergdiVW1LGAo
N1NFmZrncDTfixQyyfJy
=QcQq
-----END PGP SIGNATURE-----
Merge tag 0.3.8 into master
2017-05-23 19:48:29 -07:00
David Tolnay
98abd8feea
Bump log to 0.3.8 and env_logger to 0.4.3
2017-05-23 19:46:09 -07:00
David Tolnay
07d3e7df6e
Disable publishing the breaking changes
2017-05-23 16:18:55 -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
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
Alex Crichton
25e349c738
Bump log to 0.3.7 and env_logger to 0.4.2
2017-03-07 20:41:14 -08:00
Jake Goulding
70d3ba3ccd
Add categories to Cargo.toml
2017-01-20 15:12:53 -05:00
Alex Crichton
1c79a9c8dd
Bump to 0.3.6
2016-04-01 15:53:18 -07:00
Steven Fackler
bc7c71f18b
Stop trying to drop the logger in an atexit callback
...
Windows apparently runs these after killing all other threads, so the
shutdown process can deadlock if any of those threads was logging at
that point.
Closes #74
2016-03-16 21:29:08 -07:00
Steven Fackler
95f4961b84
Bump to 0.3.5
2016-01-16 10:03:42 -08:00
Amanieu d'Antras
2644916237
Add support for no_std
2016-01-14 23:55:22 +00:00
Steven Fackler
30d76c5732
Add a logging panic handler
2015-12-27 08:36:50 -07:00
Alex Crichton
d482c528d9
Bump log to 0.3.4
2015-11-26 09:02:55 -08:00
Alex Crichton
9b56330f20
Bump dep on libc
2015-11-03 13:38:38 -08:00
Steven Fackler
0405d78f79
Bump to 0.3.3
2015-10-27 12:17:11 -07:00
Matt Brubeck
8a2e66f3a7
Replace cfg(log_level) with Cargo features
2015-10-08 13:31:36 -07:00
Alex Crichton
92590f0cd2
Bump log to 0.3.2
2015-09-21 16:48:48 -07:00
Alex Crichton
c33b2a9564
Bump to 0.3.1
2015-03-28 11:21:45 -07:00
Huon Wilson
f44c31c9a9
Bump to 0.3.0.
...
There were breaking changes, so releasing 0.2.6 was invalid semver. That
revision has since been yanked.
Closes #34 .
2015-03-24 17:34:50 +11:00
Huon Wilson
cbb894abaf
Bump to 0.2.6.
...
Closes #32 .
2015-03-23 12:01:32 +11:00
Alex Crichton
2d5943969a
Remove dependence on std::rt
...
This moves the usage of `rt::at_exit` to `libc::atexit` instead. It's not
looking like it's likely for `rt::at_exit` to be stable at 1.0, and
`libc::atexit` is at least supported on major platforms.
2015-03-18 11:49:11 -07:00
Alex Crichton
d4b2f54758
Bump to 0.2.5
2015-02-26 09:35:35 -08:00
Huon Wilson
66ec3b808f
Bump to 0.2.3.
2015-02-19 19:08:10 +11:00
Alex Crichton
443249e382
Fix typo in trace! macro
...
Closes #19
2015-02-09 12:23:12 -08:00
Alex Crichton
0e9242db42
Bump to 0.2.2
2015-02-03 08:19:03 -08:00
Alex Crichton
d2e9115b40
Bump to 0.2.1
2015-01-28 08:28:56 -08:00
Alex Crichton
a96ca990cb
Travis and documentation tweaks
2015-01-27 07:30:34 -08:00
Steven Fackler
42a353eaf4
Rewrite liblog into a logging facade
...
See issue #3 for background.
Closes #3
Closes #7
Closes #11
2015-01-24 22:55:04 -08:00
Huon Wilson
e0403e6875
Bump to 0.1.10.
2015-01-24 00:59:24 +11:00
Huon Wilson
8f2f8311b8
Bump to 0.1.9.
2015-01-09 21:45:18 +11:00
Alex Crichton
34181b82ae
Bump to 0.1.8
2015-01-07 08:09:33 -08:00
Alex Crichton
a3050dfb6b
Bump version number
2015-01-03 13:56:56 -08:00
Alex Crichton
249549bd30
Bump version numbe
2015-01-02 08:02:25 -08:00
Huon Wilson
bcbd088471
Bump to 0.1.5.
2015-01-02 22:59:08 +11:00
Alex Crichton
68d87ee279
Bump version number
2014-12-24 11:47:39 -08:00
Alex Crichton
e3d7349201
Update to rust master
2014-12-23 08:07:59 -08:00
Alex Crichton
605cf5a1cd
Update to rust master
2014-12-19 08:20:28 -08:00