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
Zahary Karadjov
892480adde
fix #5
2018-05-28 18:40:03 +03:00
Zahary Karadjov
f23502a192
fix #2
2018-05-09 09:48:18 +03:00
Zahary Karadjov
92dd3c6321
Some implementation notes and list of TODO items
2018-05-07 13:30:02 +03:00
Zahary Karadjov
dc0b06ac54
Fix building in debug mode
2018-05-06 21:16:22 +03:00
Zahary Karadjov
8d1ccccdc8
Simplify the code and leave the final implementation of publicLogScope
2018-05-05 19:48:15 +03:00
Zahary Karadjov
aad1826ff4
Few experimental implementations of public logScopes
...
The code will be simplified in the next commit, but I'm leaving
the experiments for reference (I might need them in the future).
2018-05-05 19:22:21 +03:00
Zahary Karadjov
7339593a23
WIP README file
2018-05-02 18:52:59 +03:00
Zahary Karadjov
126a183829
Begin documenting Chronicles
...
- Implements properly filtering by log level
- Adds support for specifying the timestamps scheme
- Adds support for controlling the color and timestamp schemes
for each individual sink
2018-05-01 13:16:19 +03:00
Zahary Karadjov
db9d339b67
Implement run-time topic filtering
2018-04-30 15:35:25 +03:00
Zahary Karadjov
373e0ebc00
Initial logging-to-stream API
2018-04-30 02:18:41 +03:00
Zahary Karadjov
c91207357c
WIP support for user-defined record types
2018-04-29 21:03:20 +03:00
Zahary Karadjov
c7f2d2228c
Work-around for the per-stream thread-local var issue
2018-04-29 15:34:21 +03:00
Zahary Karadjov
c3ea1fb109
Initial support for multiple output streams
...
Unfortunately, for now the compilation fails with a codegen bug
around the 'tlsSlot' variable. Will try to work-around it in the
next commit.
2018-04-29 14:13:46 +03:00
Zahary Karadjov
d2ad7b0135
support for multiple log sinks, configured at compile-time; ansi color output in the terminal by default
2018-04-27 00:03:27 +03:00
Zahary Karadjov
c154ff6cfd
store the dynamic bindings on the stack (to save memory allocations)
2018-04-26 01:34:34 +03:00
Zahary Karadjov
4bbc36861d
compile-time options for filtering specific topics and log levels
2018-04-25 23:13:03 +03:00
Zahary Karadjov
c9c7666cd5
Initial version of the library
...
Implemented:
* basic features for logging with severity levels
* lexically scoped properties
* dynamically scoped properties
* 3 output formats (textline, textblock and json)
* optional timestamps
To-do:
* compile-time filtering of certaiin topics and severity
levels (potentially removing all logging)
* optional run-time filtering
* specification of the log outputs/formats through a define
* colorful output in the terminal
* documentation
2018-04-25 23:08:27 +03:00