Commit Graph

10 Commits

Author SHA1 Message Date
6ecbc406d7
!refactor(Log:Level): as enum class and renamed members to lowercase
matching modern conventions and fixing Windows compat issue (wingdi.h)
2022-09-04 19:58:19 +02:00
adf02f00c6 truncMode: truncate logfiles (#7)
Add a flag, to truncate the logfiles.

Default value is false.

false = append on every write (like it is right now)
true = truncate file when logfile is opened

Co-authored-by: mrbesen <y.g.2@gmx.de>
Reviewed-on: https://git.okaestne.de/okaestne/Log/pulls/7
Co-authored-by: MrBesen <y.g.2@gmx.de>
Co-committed-by: MrBesen <y.g.2@gmx.de>
2022-07-04 21:09:52 +02:00
63e4c5e830 USE_MUTEX defaults to 0 2020-11-20 22:04:05 +01:00
9ea5878a23
mutex 2020-11-02 23:51:44 +01:00
87d63150ab
initialize LeveledSinks in cpp file 2020-09-23 21:02:31 +02:00
1399770a6c
namespace instead of uber class, small improvements 2020-09-23 20:26:44 +02:00
5810f83a0a
add LeveledSink to log using shift operator without braces 2020-09-23 18:52:49 +02:00
8169db351e WIP 2019-06-02 18:54:58 +02:00
762cc48220 WIP 2019-06-01 23:51:14 +02:00
a5e52072fe init 2019-06-01 19:25:24 +02:00