Commit Graph

90 Commits

Author SHA1 Message Date
Alexey Rybalchenko
c6594934d4
Fix unrelocatable stuff 2021-03-07 10:13:35 +01:00
David Rohr
bcfe438862 Use for instead of if syntax to avoid compiler warnings 2020-08-25 18:53:01 +02:00
Alexey Rybalchenko
4b3e6d3837 Always define FAIR_MIN_SEVERITY 2020-07-17 11:40:15 +02:00
Alexey Rybalchenko
b30cacab12 Adjust regex expressions 2020-07-17 11:40:15 +02:00
Alexey Rybalchenko
c8d59d11fb Add test for cycle methods 2020-07-17 11:40:15 +02:00
Alexey Rybalchenko
a737a1de9c Add output operator for severities, verbosities 2020-07-17 11:40:15 +02:00
Alexey Rybalchenko
1cb941021c Add getters for file & custom sink severity 2020-07-17 11:40:15 +02:00
Alexey Rybalchenko
de1014dabb Add unit tests 2020-07-17 11:40:15 +02:00
Alexey Rybalchenko
ce64f628b0 Remove NDEBUG check 2020-07-17 11:40:15 +02:00
Alexey Rybalchenko
35ebc10204 Consider FAIR_MIN_SEVERITY when setting severities 2020-07-17 11:40:15 +02:00
Alexey Rybalchenko
1253bbbac8 Throw if removing non-existing sink or adding existing 2020-07-17 11:40:15 +02:00
Alexey Rybalchenko
e9bd3f2b62 InitFileSink(): return name of the created file 2020-07-17 11:40:15 +02:00
Alexey Rybalchenko
1f3b2a2c82 Minor formatting 2020-07-17 11:40:15 +02:00
Alexey Rybalchenko
2b37d0147e make GetColoredSeverityString public 2020-07-17 11:40:15 +02:00
Alexey Rybalchenko
f0cbe0bd47 Move Logging() to header 2020-07-17 11:40:15 +02:00
Alexey Rybalchenko
5f7197d987 Fix file sink and update fMinSeverity on its removal 2020-07-17 11:40:15 +02:00
Alexey Rybalchenko
b1cb6f8a99 Add CMake variable to control FAIR_MIN_SEVERITY 2020-07-17 11:40:15 +02:00
Alexey Rybalchenko
56780689fc Exchange the meaning of LOGP and LOGF 2020-06-22 09:49:07 +02:00
Alexey Rybalchenko
8446c6db0c Update docs 2020-06-18 11:30:34 +02:00
Alexey Rybalchenko
a0ff4eba50 Fixes for the updated severity order 2020-06-18 10:56:00 +02:00
David Rohr
cfe0f9dc53 Suppress LOG messages with debug severity or less at compile time for release builds 2020-06-18 10:56:00 +02:00
Alexey Rybalchenko
cdf887f5da Support fmt >=6.0.0 2020-03-03 12:53:23 +01:00
Alexey Rybalchenko
6555aa1dc0 Update README.md
Co-Authored-By: Dennis Klein <dennis.klein.github@gmail.com>
2020-03-03 09:53:01 +01:00
Alexey Rybalchenko
d1f73fe9f0 Use prefixed macro names, allow suppressing unprefixed 2020-03-03 09:53:01 +01:00
Dennis Klein
86ab87de7b
CMake: Do not install the test executable 2019-12-17 19:16:25 +01:00
Dennis Klein
b9edcd623d
CI: Update compiler 2019-09-16 15:55:14 +02:00
Dennis Klein
0670b5dba6
CI: Update compiler 2019-09-16 15:54:46 +02:00
Dennis Klein
b65084f1ce
CI: Update node label 2019-09-16 15:51:44 +02:00
Dennis Klein
da9c36702c
CI: Update node label 2019-09-16 15:51:20 +02:00
Alexey Rybalchenko
6cc60e962b Add FAIRLOGGER_INCDIRS cmake variable 2019-08-27 13:40:01 +02:00
Alexey Rybalchenko
de955b78da Update README.md 2019-08-27 13:40:01 +02:00
Alexey Rybalchenko
e6a279f58a Update README.md
Co-Authored-By: Dennis Klein <dennis.klein.github@gmail.com>
2019-08-27 13:40:01 +02:00
Alexey Rybalchenko
8073d2982c Print install prefix in cmake summary 2019-08-27 13:40:01 +02:00
Alexey Rybalchenko
2a7d4dfd9a Update docs 2019-08-27 13:40:01 +02:00
Alexey Rybalchenko
bb5e67a5e7 Update license/copyright information 2019-08-27 13:40:01 +02:00
Alexey Rybalchenko
edbc8e6270 Further stream optimizations 2019-08-27 13:40:01 +02:00
Alexey Rybalchenko
afb468406a Optimize timestamps and colored severity output 2019-08-27 13:40:01 +02:00
Alexey Rybalchenko
a5f3e95238 Some formatting 2019-08-27 13:40:01 +02:00
Alexey Rybalchenko
3d36ffeb40 Use fmt::localtime instead of std one for thread safety 2019-08-27 13:40:01 +02:00
Alexey Rybalchenko
d9ac93552e Implement LOGN for all sinks 2019-08-27 13:40:01 +02:00
Alexey Rybalchenko
dcc27744cd Add support for fmt/fmt::printf format 2019-08-27 13:40:01 +02:00
Alexey Rybalchenko
4b883688c9 Remove Log() function, do work in constructor 2019-08-27 13:40:01 +02:00
Dennis Klein
5eb2612636 Fix cppcoreguidelines-pro-bounds-array-to-pointer-decay 2019-07-19 09:44:41 +02:00
Dennis Klein
9949e83a14 Fix -Wsign-compare 2019-06-27 13:18:26 +02:00
Dennis Klein
4b462d2aa2 Fix -Wunused-parameter 2019-06-27 13:18:26 +02:00
Dennis Klein
28882b70ca CMake: Add dependency summary 2019-06-27 13:18:26 +02:00
Dennis Klein
1e427a2e55 CMake: Add summary about CXX flags 2019-06-27 13:18:26 +02:00
Dennis Klein
128bcceade CMake: Update CXX standard handling
* Print summary
2019-06-27 13:18:26 +02:00
Dennis Klein
bee04a260c CMake: Adopt find_package2
* Adds support for Boost 1.70

Resolves #14
2019-06-27 13:18:26 +02:00
Dennis Klein
8e9d91c596 CMake: Update CMake package
* Adopt generate_package_dependencies

Resolves #14
2019-06-27 13:18:26 +02:00