summary refs log tree commit diff stats
path: root/lib/pure/logging.nim
Commit message (Collapse)AuthorAgeFilesLines
* 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
:06:21 +0100 committer James Booth <boothj5@gmail.com> 2016-07-30 19:06:21 +0100 Update python API docs' href='/danisanti/profani-tty/commit/apidocs/python/src/plugin.py?id=c8d231fc75b1e700630b92c5073233ebefa4edda'>c8d231fc ^
a308f5e4 ^



c8d231fc ^










a308f5e4 ^



c8d231fc ^





43b1d7f7 ^
c8d231fc ^

a308f5e4 ^



c8d231fc ^






a308f5e4 ^



c8d231fc ^






a308f5e4 ^



c8d231fc ^






a308f5e4 ^



c8d231fc ^






a308f5e4 ^



c8d231fc ^






a308f5e4 ^



c8d231fc ^






a308f5e4 ^



c8d231fc ^








a308f5e4 ^



c8d231fc ^












a308f5e4 ^



c8d231fc ^




a308f5e4 ^


c8d231fc ^

a308f5e4 ^
c8d231fc ^



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
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356