Commit aa88cd4
authored
chronicles: bump and logging updates (#7319)
* chronicles: bump and logging updates
* formatting uses `formatIt` also for object fields
* respect [`NO_COLOR`](https://no-color.org/)
* less memory allocation per log statement
* outputs fully disabled when not used (instead of being formatted and
then discarded)
* directly produce nocolored output instead of coloring then filtering
* bump
* oops
* oops
* better
* bump
* move nooutput back
* move nooutput back
* move import
* setup logging before file limits
* bump1 parent 0f8ec2d commit aa88cd4
File tree
9 files changed
+22
-60
lines changed- beacon_chain
- benchmarks
- vendor
9 files changed
+22
-60
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
| 41 | + | |
80 | 42 | | |
81 | 43 | | |
82 | 44 | | |
| |||
93 | 55 | | |
94 | 56 | | |
95 | 57 | | |
96 | | - | |
| 58 | + | |
97 | 59 | | |
98 | 60 | | |
99 | 61 | | |
| |||
108 | 70 | | |
109 | 71 | | |
110 | 72 | | |
| 73 | + | |
| 74 | + | |
111 | 75 | | |
112 | 76 | | |
113 | 77 | | |
| |||
129 | 93 | | |
130 | 94 | | |
131 | 95 | | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | 96 | | |
136 | 97 | | |
137 | 98 | | |
| |||
143 | 104 | | |
144 | 105 | | |
145 | 106 | | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | 107 | | |
150 | 108 | | |
151 | 109 | | |
| |||
171 | 129 | | |
172 | 130 | | |
173 | 131 | | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
178 | 135 | | |
179 | 136 | | |
| 137 | + | |
180 | 138 | | |
181 | | - | |
| 139 | + | |
| 140 | + | |
182 | 141 | | |
183 | 142 | | |
184 | 143 | | |
| |||
190 | 149 | | |
191 | 150 | | |
192 | 151 | | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
193 | 155 | | |
194 | 156 | | |
195 | 157 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
571 | 571 | | |
572 | 572 | | |
573 | 573 | | |
574 | | - | |
575 | 574 | | |
| 575 | + | |
576 | 576 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
Submodule nim-chronicles updated 93 files
- README.md+160-78
- chronicles.nim+75-101
- chronicles.nimble+6-3
- chronicles/ansicolors.nim+26
- chronicles/dynamic_scope.nim+61-17
- chronicles/dynamic_scope_types.nim+20-4
- chronicles/formats.nim+90
- chronicles/helpers.nim+8-6
- chronicles/json_records.nim+69
- chronicles/log_output.nim+374-588
- chronicles/options.nim+70-42
- chronicles/scope_helpers.nim+1-2
- chronicles/tail_plugins.nim-19
- chronicles/textblocks.nim+168
- chronicles/textformats.nim+125
- chronicles/textlines.nim+176
- chronicles/timestamp.nim+98-12
- chronicles/topics_registry.nim+170-61
- media/json.png
- media/json.svg-1
- media/textblocks.png
- media/textblocks.svg-1
- media/textlines.png
- media/textlines.svg-1
- tests/colors/ansi_colors.test+10-10
- tests/colors/native_colors_unix.test-26
- tests/colors/native_colors_windows.test-25
- tests/colors/no_colors.test+4-4
- tests/custom_formatters_types.nim+3-5
- tests/custom_stream.nim+12-12
- tests/customization/customsink.test+28
- tests/customization/formatters.test+6-6
- tests/dyn_output.nim+24
- tests/lexical_scopes.nim+1-1
- tests/loglevel/info_level.test+11-8
- tests/loglevel/no_level.test+14-11
- tests/loglevel/release_build_level.test+11-8
- tests/loglevel/topic_log_level1.test+9-6
- tests/loglevel/topic_log_level2.test+10-7
- tests/loglevel/topic_log_level3.test+7-4
- tests/loglevel/topic_log_level4.test+8-5
- tests/loglevel/topic_log_level_none.test+6-3
- tests/loglevel/topic_log_level_number.test+10-7
- tests/loglevel/trace_level.test+4-1
- tests/loglevel/warn_level.test+5-3
- tests/logscope/dynamic_scopes.test+4-2
- tests/no_side_effect.nim+1-1
- tests/other/indent.test+6-5
- tests/other/line_numbers.test+13-11
- tests/other/long_lines.test+4-5
- tests/perf/release_opt_size.test+4-3
- tests/perf/size_check_debug.test+503-1.0k
- tests/perf/size_check_release.test+503-1.0k
- tests/rt_filtering/per_sink.test+28
- tests/rt_filtering/rt_two_dyn_output.test+16
- tests/rt_filtering/runtime_filtering.test+29-21
- tests/rt_filtering/runtime_filtering_multi.test+69
- tests/rt_filtering/runtime_filtering_no_scopes.test+6-6
- tests/runtime_filtering.nim+12
- tests/sinks/custom_file_nocolors.test+4-2
- tests/sinks/custom_file_notimestamps.test+4-2
- tests/sinks/double_sink.test+7-7
- tests/sinks/json_file_stdout.test+6-8
- tests/sinks/property_per_sink.test+21-20
- tests/sinks/textblocks_file_stdout.test+5-43
- tests/sinks/textlines_file.test+4-6
- tests/sinks/textlines_file_stdout.test+6-8
- tests/sinks/textlines_stdout.test+4-2
- tests/sinks/tripple_sink.test+9-9
- tests/streams/custom_stream.test+6-5
- tests/streams/file_log_stream.test+2-2
- tests/streams/runtime_path.test+3-2
- tests/streams/streams.test+8-6
- tests/streams/streams_different_formats.test+8-7
- tests/streams/streams_different_formats2.test+5-7
- tests/streams/streams_different_property.test+9-7
- tests/streams/xml_stream_usage.test+2-1
- tests/timestamps/no_timestamps.test+6-8
- tests/timestamps/ownpeg_timestamps.test+6-8
- tests/timestamps/rfc_timestamps.test+7-8
- tests/timestamps/unix_timestamps.test+8-8
- tests/topics/disabled.test+7-5
- tests/topics/enabled.test+11-9
- tests/topics/enabled_vs_disabled.test+5-3
- tests/topics/enabled_vs_required.test+5
- tests/topics/required1.test+8-6
- tests/topics/required2.test+5-3
- tests/topics/required_vs_disabled.test+2
- tests/topics/required_vs_disabled2.test+5-3
- tests/topics_and_loglvls.nim+9-3
- tests/twosinks.nim+27
- tests/xml_records.nim+14
- tests/xml_stream.nim+1-4
0 commit comments