Logger System 0.1.3
High-performance C++20 thread-safe logging system with asynchronous capabilities
Loading...
Searching...
No Matches
signal_manager_interface.h
Go to the documentation of this file.
1// BSD 3-Clause License
2// Copyright (c) 2025, 🍀☀🌕🌥 🌊
3// See the LICENSE file in the project root for full license information.
4
11#pragma once
12
13#include <cstddef>
14
16
17// Forward declaration
18class critical_logger_interface;
19
35public:
36 virtual ~signal_manager_interface() = default;
37
46
55
62 virtual bool are_handlers_installed() const = 0;
63
70 virtual size_t logger_count() const = 0;
71};
72
73} // namespace kcenon::logger::security
Interface for loggers that support emergency flushing.
virtual bool are_handlers_installed() const =0
Check if signal handlers are installed.
virtual void register_logger(critical_logger_interface *log)=0
Register a logger to receive signal notifications.
virtual size_t logger_count() const =0
Get number of registered loggers.
virtual void unregister_logger(critical_logger_interface *log)=0
Unregister a logger.