Logger System
0.1.3
High-performance C++20 thread-safe logging system with asynchronous capabilities
Loading...
Searching...
No Matches
monitoring_integration_detector.h
Go to the documentation of this file.
1
// BSD 3-Clause License
2
// Copyright (c) 2021-2025, 🍀☀🌕🌥 🌊
3
// See the LICENSE file in the project root for full license information.
4
5
#pragma once
6
12
#if !defined(LOGGER_MONITORING_INTEGRATION_DETECTED)
13
#define LOGGER_MONITORING_INTEGRATION_DETECTED
14
15
// Detect monitoring_system integration based on header availability
16
#if !defined(USE_MONITORING_SYSTEM)
17
# if __has_include(<kcenon/monitoring/interfaces/monitoring_interface.h>)
18
# define USE_MONITORING_SYSTEM 1
19
# endif
20
#endif
21
22
#if !defined(ENABLE_MONITORING_INTEGRATION) && defined(USE_MONITORING_SYSTEM)
23
# if __has_include(<kcenon/monitoring/interfaces/monitoring_interface.h>)
24
# define ENABLE_MONITORING_INTEGRATION 1
25
# endif
26
#endif
27
28
#endif
// LOGGER_MONITORING_INTEGRATION_DETECTED
include
kcenon
logger
core
monitoring_integration_detector.h
Generated by
1.12.0