summary refs log tree commit diff stats
path: root/lib/pure/logging.nim
Commit message (Collapse)AuthorAgeFilesLines
* [backport] run nimpretty on the remaining filesnarimiran2019-09-301-23/+25
|
* Fixes effect error in pure/logging.nim (#11898)Zachary Carter2019-08-081-1/+1
| | | | | | | | * Fix effect error in pure/logging.nim Currently calling `logging.log` will produce - `Error: can have an unlisted effect: RootEffect`. Add `RootEffect` to list of tags. * the only tag necessary is RootEffect since all other Effects are descendants of RootEffect
* logging: better documentation (#10895)Jjp1372019-03-241-94/+572
|
* Adding more documentation to logging.nimIstvan2018-12-171-1/+6
| | | Just minor addition to the documentation with the use of operators
* write logs to stderr instead of stdout; fixes #9547 (#9554)Ahmed T. Youssef2018-10-301-3/+8
|
* even more strict isNil handling for strings/seqs in order to detect bugsAraq2018-08-221-11/+2
|
* remove deprecated stuff from the stdlib; introduce better deprecation warningsAraq2018-05-051-4/+0
|
* make logging module compile againAndreas Rumpf2018-04-301-1/+1
|
* logging: don't crash on nil stringsYuriy Glukhov2018-01-111-2/+13
|
* fix #6264 and #6141 (#6884)skilchen2017-12-111-2/+6
|
* Fix console logger issue; fixes #5546 (#5547)Anatoly Galiulin2017-03-161-2/+5
|
* Explicitly mark log() method as gcsafeRuslan Mustakov2017-02-271-1/+1
|
* Add warning about log flushing. Related to #3269 (#5424)Federico Ceratto2017-02-241-0/+2
|
* Add newFileLogger overload accepting file descriptorDmitry Polienko2016-11-151-5/+13
|
* Enabled logging tests for jsYuriy Glukhov2016-09-031-4/+5
|
* Logging compatible with jsYuriy Glukhov2016-09-031-111/+124
|
* prepare Nim codebase for upcoming parser changesAndreas Rumpf2016-07-151-1/+1
|
* pure/logging: add notice level, suggest usecasesniv2016-05-011-1/+27
|
* respect global log filter levelBruce Doan2015-11-281-6/+7
|
* logging.nim: expose underlying 'file' object; errors and fatals flush the ↵Araq2015-10-121-10/+13
| | | | buffer; refs #3270
* Add substituteLog docsFederico Ceratto2015-10-091-0/+2
|
* Export substituteLogFederico Ceratto2015-10-091-1/+1
| | | Allow Nim users to create their own loggers
* renamed writeln to writeLine in libpatrick dw2015-06-191-3/+3
|
* Fix logger formattingSergey Avseyev2015-06-131-11/+20
| | | | | | | | | | | | | | | | | | | Motivation ---------- Current implementation does not allow to specify any formatting. It even cannot output log level, because `writeln()` accepts `varags[string]` and silently ignores everything before last argument. Modification ------------ Perform formatting in the single place during substitution. Make log level optional as all other substitution variables. Also make verbose logging more informative and parseable. Result ------ Correct handling formatting and substitutions. Machine-friendly default output of verbose logger.
* Merge pull request #2830 from yglukhov/logging-no-formatDominik Picheta2015-06-041-30/+22
|\ | | | | Removed formatting from logging.
| * Removed formatting from logging.yglukhov2015-05-281-30/+22
| |
* | Documented bufSize param in logging.nimx2f2015-06-011-1/+5
| | | | | | | | | | Documented bufSize param in logging.nim to complete the previous change that added a bufSize parameter to file based logger constructors.
* | Expose bufSize parameter for file-based loggersx2f2015-05-311-5/+9
|/ | | | | | newFileLogger and newRollingFileLogger have a new bufSize parameter that is used in open(). The default value -1 has the same behavior as before. Use 0 for unbuffered output to log file.
* logging: make fmtStr public to be used in user defined loggersFrank Fischer2015-05-111-1/+1
|
* Don't run non-test code when defined(testing)Oleh Prypin2015-04-211-1/+1
|
* Use `^` instead of `-` in slicesdef2015-03-281-34/+34
|
* fixed log*(logger: RollingFileLogger, level: Level,teroz2015-03-131-1/+1
| | | | frmt: string, args: varargs[string, ])
* Fix typosFederico Ceratto2015-02-151-1/+1
|
* newRollingFileLogger - fmtStr is always set to defaultFmtStrFabio Cevasco2015-02-061-1/+1
|
* Logging module is now thread-safe.Dominik Picheta2015-01-251-9/+27
|
* Happy new year!Guillaume Gelin2015-01-061-1/+1
|
* docgen should work againAraq2014-10-051-1/+4
|
* more modules updatedAraq2014-08-281-20/+20
|
* big renameAraq2014-08-271-14/+17
|
* Fixes docgen for logging module.Dominik Picheta2014-02-021-2/+2
|
* Finished logging module.Dominik Picheta2014-01-271-0/+267
|
* tests are green againAraq2011-06-281-144/+0
|
* little repo cleanupAraq2011-05-021-5/+3
|
* bugfix: times.epochTimeAraq2011-04-251-2/+2
|
* cleanup: E_Base should not be used for inheriting exceptions; documentation ↵Araq2011-01-151-1/+1
| | | | generator generates dependencies section
* fixed pango/pangoutils new wrappersAndreas Rumpf2010-02-261-0/+0
|
* continued work on html/xmlparserrumpf_a@web.de2010-02-141-0/+0
|
* better subscript overloadingrumpf_a@web.de2010-01-031-0/+146
m?h=devel&id=b56df72a325e4991128d808dc6c9edade3d0f293'>^
1786e3099 ^
b6f5c1215 ^
13b57dbc2 ^


af7c92c00 ^
355ae07b8 ^

1786e3099 ^



af7c92c00 ^






b64eeeb43 ^
92b449562 ^
af7c92c00 ^
05724645f ^
d68181246 ^
af7c92c00 ^

b64eeeb43 ^







1786e3099 ^






af7c92c00 ^
1d14cb1ad ^
1786e3099 ^
af7c92c00 ^


355ae07b8 ^



af7c92c00 ^

30c00aba0 ^




70ea45cdb ^
30c00aba0 ^





355ae07b8 ^




af7c92c00 ^

1786e3099 ^



af7c92c00 ^

70ea45cdb ^
af7c92c00 ^

dae545094 ^

420ed0596 ^
dae545094 ^

af7c92c00 ^

d68181246 ^
af7c92c00 ^













b64eeeb43 ^

70ea45cdb ^
b64eeeb43 ^






70ea45cdb ^
1786e3099 ^





46e9ff613 ^
af7c92c00 ^






b64eeeb43 ^



70ea45cdb ^
af7c92c00 ^
92b8fac94 ^
af7c92c00 ^


fd532b6da ^
af7c92c00 ^
b64eeeb43 ^
70ea45cdb ^
b64eeeb43 ^
1786e3099 ^
af7c92c00 ^
73c6efdf6 ^
af7c92c00 ^


b64eeeb43 ^



657dca5c3 ^
af7c92c00 ^



b64eeeb43 ^



657dca5c3 ^
af7c92c00 ^

05724645f ^
af7c92c00 ^



1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303