827 Commits

Author SHA1 Message Date
Ashley Mannix
d5ba2cfee9
Merge pull request #634 from rust-lang/cargo/0.4.22
Prepare for 0.4.22 release
0.4.22
2024-06-28 09:12:51 +10:00
KodrAus
d1a8306aad prepare for 0.4.22 release 2024-06-27 07:33:32 +10:00
Ashley Mannix
46894ef229
Merge pull request #633 from rust-lang/feat/panic-info
Use Location::caller() for file and line info
2024-06-27 07:27:38 +10:00
Ashley Mannix
e0d389c9ca
Merge pull request #632 from rust-lang/feat/loosen-atomics
Loosen orderings for logger initialization
2024-06-26 15:47:51 +10:00
KodrAus
c9e5e13e9b use Location::caller() for file and line info 2024-06-25 11:23:00 +10:00
KodrAus
507b672660 loosen orderings for logger initialization 2024-06-25 11:02:26 +10:00
Ashley Mannix
c879b011a8
Merge pull request #628 from Thomasdezeeuw/fix-warnings
Remove unneeded import
2024-04-02 06:55:35 +10:00
Ashley Mannix
405fdb4d9f
Merge pull request #627 from Thomasdezeeuw/check-features
Check usage of max_level features
2024-04-02 06:54:03 +10:00
Thomas de Zeeuw
1307ade112 Remove unneeded import
Already imported by super::*
2024-03-31 20:32:17 +02:00
Thomas de Zeeuw
710560ecb7 Don't use --all-features in CI 2024-03-31 20:26:59 +02:00
Thomas de Zeeuw
10ab47209a Check usage of max_level features
With this change log will to fail to compile if two or more
(release_)max_level_* features are used.
2024-03-31 20:16:41 +02:00
Ashley Mannix
28d734b0c4
Merge pull request #625 from Catamantaloedis/hint_spin_loop
Replace deprecated std::sync::atomic::spin_loop_hint()
2024-03-30 10:20:55 +10:00
Ashley Mannix
db190947fe
Merge pull request #623 from rust-lang/chore/docs-clarifications
Clarify the actual set of functions that can race in _racy variants
2024-03-30 10:19:13 +10:00
Alec Rohloff
54eebd2f74
Replace deprecated std::sync::atomic::spin_loop_hint() 2024-03-29 18:07:37 -04:00
KodrAus
17b73a485b clarify the actual set of functions that can race in _racy variants 2024-03-29 21:12:20 +10:00
Ashley Mannix
4961162e74
Merge pull request #619 from DIvkov575/add-line-number-tests
adding line_number test + updating some testing infrastructure
2024-03-26 15:00:48 +10:00
Divkov575
3aea361cff fmt + change test harness + remove (unnecessary) lazy_static from dev-deps 2024-03-24 10:59:20 -04:00
Divkov575
36b1a1cac9 combined tests test_filter & test_line_number -> 1 main function 2024-03-24 10:39:34 -04:00
Ashley Mannix
7bdb8aac88
Merge pull request #621 from chrivers/chrivers/add-colog-links
Add links to `colog` crate
2024-03-24 18:48:11 +10:00
Christian Iversen
2cec229e04 Add links to colog crate, which provides logging with reasonable defaults, and customizable styling 2024-03-23 10:46:13 +01:00
Divkov575
90edfc3b17 (filters.rs & line_numbers.rs -> integration.rs) 2024-03-22 21:02:17 -04:00
Ashley Mannix
06c306fa8f
Merge pull request #620 from rust-lang/chore/clarifications
Add some clarifications to the library docs
2024-03-20 21:12:24 +10:00
KodrAus
adb7b53e29 run fmt 2024-03-20 08:13:24 +10:00
KodrAus
6c2dade605 add some clarifications to the library docs 2024-03-20 08:11:55 +10:00
Divkov575
8f79efefa1 removed harness from line_numbers test 2024-03-19 12:41:41 -04:00
Divkov575
d94009e432 added line_numbers test to cargo.toml and lib.rs 2024-03-19 11:43:59 -04:00
Divkov575
cffcd66e54 fmt + update line# for assertion 2024-03-19 08:02:36 -04:00
Divkov575
8e1fa960a5 added checks for log filtering + set_max_level log 2024-03-19 08:00:22 -04:00
Divkov575
eeaeeb80bd extra option wrapping record.lien() on line 21 removed 2024-03-16 13:02:06 -04:00
Divkov575
96c3fdc9ad changed state<Record> to state<u32> in order to store line number only 2024-03-16 10:47:58 -04:00
Divkov575
d9f4a65678 added line_numbers.rs 2024-03-16 10:23:11 -04:00
Ashley Mannix
3ccdc286fe
Merge pull request #617 from rust-lang/cargo/0.4.21
Prepare for 0.4.21 release
0.4.21
2024-02-29 06:44:10 +10:00
KodrAus
6153cb289f prepare for 0.4.21 release 2024-02-27 20:21:12 +10:00
Ashley Mannix
f0f74946a4
Merge pull request #613 from rust-lang/feat/kv-cleanup
Get structured logging API ready for stabilization
2024-02-20 07:52:12 +10:00
KodrAus
2b220bf3b7 clean up structured logging example 2024-02-20 07:36:07 +10:00
Ashley Mannix
646e9ab991
use original Visitor name for VisitValue
Co-authored-by: Thomas de Zeeuw <thomasdezeeuw@gmail.com>
2024-02-20 07:29:43 +10:00
Ashley Mannix
cf85c38d35
add needed subfeatures to kv_unstable
Co-authored-by: Thomas de Zeeuw <thomasdezeeuw@gmail.com>
2024-02-20 07:29:14 +10:00
KodrAus
73e953905b fix up capturing of :err 2024-02-19 07:47:32 +10:00
KodrAus
31bb4b0ff3 move error macros together 2024-02-19 07:41:02 +10:00
KodrAus
ad917118a5 support field shorthand in macros 2024-02-19 07:36:01 +10:00
KodrAus
90a347bd83 restore removed APIs as deprecated 2024-02-19 07:22:40 +10:00
KodrAus
52460f9928 stabilize the kv features 2024-02-16 15:40:52 +10:00
KodrAus
a6c40954b1 add a few more notes to the source 2024-02-16 15:16:54 +10:00
KodrAus
44b8e99059 fix up some warnings 2024-02-16 15:14:35 +10:00
KodrAus
6d9e98aa03 run fmt 2024-02-16 15:09:18 +10:00
KodrAus
f6b89c0377 update and clarify docs, make internal kv modules private 2024-02-16 15:08:13 +10:00
KodrAus
d8dc6a834b rename source::Visitor to VisitSource and value::Visitor to VisitValue 2024-02-13 20:30:05 +10:00
KodrAus
6b483c62cd make capturing docs easier to read 2024-02-13 20:17:58 +10:00
KodrAus
1d258b6864 Merge branch 'feat/kv-cleanup' of https://github.com/rust-lang/log into feat/kv-cleanup 2024-02-13 20:14:37 +10:00
KodrAus
0374a25554 work on macro support for capturing 2024-02-13 20:07:58 +10:00