Zahary Karadjov
e33a4e4195
Reorder the fields in the json output for better readability; Support using File outputs when using threads
2019-03-25 16:03:34 +02:00
Zahary Karadjov
5a5d034f12
Don't fail to compile when threading is disabled
2019-03-25 02:24:12 +02:00
Zahary Karadjov
196615af97
Cosmetic clean-up
2019-03-25 01:16:02 +02:00
Zahary Karadjov
793c8d5370
Finish the thread-safety story by using buffered outputs when necessary
2019-03-25 01:04:49 +02:00
Zahary Karadjov
cb828352cc
Thread-safety for the registry
2019-03-25 00:46:17 +02:00
Zahary Karadjov
3586140622
Cherry pick the best parts of #45
2019-03-24 23:58:02 +02:00
Zahary Karadjov
2079744de6
Minimal patch solving the GC safety issues
2019-03-24 23:57:54 +02:00
Zahary Karadjov
43c10a19cd
Custom formatting and auto-expanding for user-defined types
2019-03-24 22:16:04 +02:00
Ștefan Talpalaru
e477bc220e
assert() -> doAssert()
2019-03-14 04:33:08 +01:00
Yardanico
1729faf2b3
Fix compilation error on Nim devel
...
Without this change Chronicles fails to compile on latest Nim compiler with that error:
```
/home/dian/.nimble/pkgs/chronicles-0.4.1/chronicles/options.nim(137, 47) Error: return type 'untyped' is only valid for macros and templates
```
Changing the return type to seq fixes it.
2019-01-25 15:27:03 +00:00
Zahary Karadjov
ac1e97cd37
v0.4.1: Fix a false-positive run-time filtering error for statements without a topic
2019-01-21 20:12:31 +02:00
Zahary Karadjov
f48bb255c1
Extract chronicles_tail in a separate package; Bump version to 0.4.0
2018-11-10 17:17:55 +02:00
Zahary Karadjov
44b87f8927
optimize the size of the generated code
2018-11-10 17:14:25 +02:00
Zahary Karadjov
4f7ba4affe
small fix after a rebase
2018-11-10 15:05:29 +02:00
Zahary Karadjov
263fac558f
Fix the run-time filtering logic for the new per-topic log level
...
Fix the tests affected by the new more human-friendly JSON property names
2018-11-10 15:02:13 +02:00
Zahary Karadjov
983cd02513
Replace the compiler dependency with an SQL parser
2018-11-10 15:02:13 +02:00
Surf1nb1rd
f929f3005c
Implemented the chronicles_tail tool
2018-11-10 15:00:45 +02:00
Zahary Karadjov
b0f6fb92b7
Messages produced with LogLevel.NONE are not subjected to any filtering.
...
Support for outputting of verbatim JSON string though the JsonString
distinct type.
2018-11-10 02:23:09 +02:00
Zahary Karadjov
f70c379850
Fix compilation error when dynamic scopes are used under the textblocks format
2018-10-20 20:12:14 +03:00
Zahary Karadjov
e38090f2dd
fix the tests involving custom streams
2018-10-19 20:01:26 +03:00
Zahary Karadjov
0be283193e
Fix some compilation errors when multiple sinks are used
2018-10-19 19:39:48 +03:00
deme
b53a15ba27
Format unix timestamp decimals always to 6
2018-10-12 15:38:11 +03:00
Zahary Karadjov
b35822f7d7
bugfix: fix a rare error triggered by the short-hand propery syntax in some situations
2018-10-11 20:59:11 +03:00
Zahary Karadjov
7d5b45f928
Drop the dependency on Nimble's syslog package
2018-09-16 01:09:22 +03:00
Zahary Karadjov
9a145a95d9
fix #32 ; fix #33
2018-09-11 01:39:07 +03:00
deme
0a17a213e2
Add error when enabled and required topics are used together
2018-09-08 16:46:51 +03:00
deme
bd820967ba
[ #17 ] Resolve review comments + fix issue when selecting NONE as LogLevel
2018-09-06 01:12:44 +03:00
deme
5cf32a7d1c
[ #17 ] implement compile time topic log level filter
2018-09-06 01:12:44 +03:00
deme
056b22de9f
[ #17 ] implement runtime topic log level filter
2018-09-06 01:12:44 +03:00
Zahary Karadjov
ddbc38cc52
Imlement the syslog output and the Trace log level ( Close #26 )
...
Other changes:
* Cosmetic post-review changes
* Fix #15
2018-09-02 01:00:44 +03:00
Surf1nb1rd
c990e83097
implement #18
2018-08-31 18:00:08 +03:00
Zahary Karadjov
0cd13a6e3d
fix #25
2018-08-26 18:03:19 +03:00
Zahary Karadjov
fb935c6d58
code review changes; fix #23
2018-08-26 17:29:20 +03:00
Jacek Sieka
bb3da67f46
document default a bit more
2018-08-26 13:55:38 +03:00
Jacek Sieka
b31d48d5ab
shorten level to 3 chars when aligning
...
* throw in a test as well
2018-08-26 13:55:38 +03:00
Jacek Sieka
2b9fe825e5
update text formats with a few usability features
...
* fixed-width level, time and message makes for nice columns
* colorize keys according to log level
* remove brackets around stuff (already conveyed by columns)
* quote values with spaces in them (like logfmt, allows parsing k/v
easily
2018-08-26 13:55:38 +03:00
Jacek Sieka
199ec1f0cf
use textlines by default
...
during discussion, several advantages were noted:
* easy to grep
* easy to integrate with text processing other tools (log collectors
etc)
* better use of screen space
2018-08-26 13:55:38 +03:00
Jacek Sieka
6edb1a1538
typo fix
2018-08-22 19:21:26 -06:00
Zahary Karadjov
e46a47c11f
strutils is still needed for "string.find" and "NewLines"
2018-07-20 19:32:16 +03:00
Zahary Karadjov
6759d69ef0
fix #14
2018-07-16 19:51:17 +03:00
Zahary Karadjov
e06928164c
more prominent display of the 'topics' property in the default formatters; close #13
2018-07-16 17:48:25 +03:00
Zahary Karadjov
716c821dc7
Implements native color output on Windows; refs #11
2018-07-16 16:45:45 +03:00
Zahary Karadjov
53b4190208
fix an issue with logging statements used inside templates
2018-07-06 20:04:07 +03:00
Yuriy Glukhov
c3a4c0231f
Changed defined(debug) to not defined(release)
2018-07-06 13:16:01 +03:00
Zahary Karadjov
048152d1b5
fix #10
2018-06-19 17:11:05 +03:00
Zahary Karadjov
0f8082c935
fix #8
2018-06-19 16:38:03 +03:00
Zahary Karadjov
e25fc325ba
fix #7
2018-06-19 16:26:45 +03:00
Zahary Karadjov
ff341143fb
v0.2.0: Support for specifying the log file paths at run-time
...
implements #9
2018-06-19 16:01:26 +03:00
Zahary Karadjov
3ba9be0b7b
WIP per-stream managed outputs
2018-06-13 19:14:17 +03:00
Zahary Karadjov
f16cb1f220
fix #6 ; file sinks are appended by default
2018-05-28 18:59:29 +03:00