Alexey Rybalchenko
71aac1199a
Add GitHub CI workflow
2025-07-02 13:28:30 +02:00
Alexey Rybalchenko
2a4be75246
Add LOGFD and LOGPD macros
2025-07-02 13:28:30 +02:00
Alexey Rybalchenko
290070cbcf
Use prefixed macros in case non-prefixed ones are undefined
2025-07-02 13:28:30 +02:00
Alexey Rybalchenko
832376101d
add install/ to git ignore
2025-07-02 13:28:30 +02:00
Alexey Rybalchenko
cd9e392ce0
CMake: remove C from project versions
2025-05-19 12:40:32 +02:00
Alexey Rybalchenko
27527ad87b
Add critical severity level between fatal and error
2025-02-06 15:20:41 +01:00
Dennis Klein
f3d68fb4ba
build: Adopt all CMake policies up to 3.30
2024-08-20 15:56:57 +02:00
Giulio Eulisse
0ae9a697b4
Avoid extra allocation when creating the LogMetaData
...
By using a std::string_view for LogMetaData strings we avoid an implicit
memory allocation when passing __file__, etc. which are char const*
(notice this is also the case for the standardized
std::source_location::file_name etc).
2024-05-23 19:47:55 +02:00
Giulio Eulisse
fdbc047591
Bump minimum required C++ standard to C++17
2024-05-23 19:47:55 +02:00
Alexey Rybalchenko
ea4067c474
Update CI nodes
2024-02-22 10:31:38 +01:00
Alexey Rybalchenko
067dcc0e26
Update CI nodes
2024-02-21 13:54:16 +01:00
Alexey Rybalchenko
0ab390c465
Avoid semicolon insertion when modifying linker flags
2024-02-19 11:36:33 +01:00
Alexey Rybalchenko
56b90a7445
Avoid "Unknown severity" message also for uppercase fatal
2022-06-28 11:23:57 +02:00
Giulio Eulisse
7fc05f3808
Avoid "Unknown severity" message for fatal
2022-06-28 11:23:57 +02:00
Dennis Klein
d93fb0870b
ci: Update macOS builds
2022-04-17 06:10:15 +02:00
Alexey Rybalchenko
953eac19c8
Add 'detail' severity between debug and info
2022-04-12 11:00:41 +02:00
Alexey Rybalchenko
9a6644c931
Adapt to fmt's deprecation of format_to memory buffer overload
2021-11-26 11:23:42 +01:00
Alexey Rybalchenko
27040ea292
Deprecate uppercase severity names
2021-11-25 14:29:18 +01:00
David Rohr
6545d0efa2
Include fmt/ostream.h, needed for on the fly std::ostream usage
2021-11-15 10:52:33 +01:00
Dennis Klein
159a21c24b
ci: Add macos-11-arm64 (apple-clang-13) build
2021-10-01 17:10:13 +02:00
Dennis Klein
2494a9e85a
Revert "Deprecate uppercase severity names"
...
This reverts commit ba7da2f79a
.
2021-09-21 12:54:42 +02:00
Dennis Klein
d0b109015d
ci: Update envs
2021-09-10 18:54:43 +02:00
Alexey Rybalchenko
ba7da2f79a
Deprecate uppercase severity names
2021-09-10 14:25:31 +02:00
Alexey Rybalchenko
1c7e7f566a
Bump C++ requirement to C++14
2021-09-10 14:25:31 +02:00
Alexey Rybalchenko
b2dfdd1768
Add 'alarm' and 'important' severities
2021-09-10 14:25:31 +02:00
Christian Tacke
13ebedca3d
Extract find_package2 into own File
...
To make it easier to share find_package2 across projects
let's move it into its own file.
2021-04-09 14:26:36 +02:00
Christian Tacke
1c43450582
bundled fmt: Fix target_compile_feature
...
When using the bundled fmt, the declared "INTERFACE" target
can only declare INTERFACE compile features via
target_compile_feature.
2021-04-09 14:25:10 +02:00
Dennis Klein
f9af3a7269
CMake: Do not unconditionally override settings without good reason
...
relates FairRootGroup/FairMQ#342
2021-03-22 06:37:16 +01:00
Dennis Klein
064e034d25
Update README
2021-03-22 06:37:16 +01:00
Dennis Klein
3f55a16850
CMake: Require language level per target
...
https://cmake.org/cmake/help/latest/manual/cmake-compile-features.7.html#requiring-language-standards
2021-03-22 06:37:16 +01:00
Dennis Klein
340b005997
Export relocatable include dirs
2021-03-07 11:16:40 +01:00
Dennis Klein
f012a870e7
CI: Migrate to new alfa-ci infrastructure
2021-03-05 03:06:08 +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