dna-framework
dna-framework copied to clipboard
Improve logging: log file rotation, log exception stack trace and more
Improve logging to files:
- log file rotation
- log exception stack trace
- log timestamp with milliseconds
- log message level (ERROR, TRACE, DEBUG, INFO etc.)
- prepare to log asynchronously
@adadurov Perhaps take a look at NLog in #19, the file log rotation handling is built into it
https://github.com/NLog/NLog/wiki/File-target
@adadurov Perhaps take a look at NLog in #19, the file log rotation handling is built into it
https://github.com/NLog/NLog/wiki/File-target
Thank you, @xaoseric, I know about NLog and other logging solutions. I also understand that the logging implementation here is very basic, looking more like a PoC, so I wanted to contribute my 2 cents to the PoC. But I may be wrong in my understanding or assumptions.