Skip to main content

AVxcelerate Simulation Framework 2025 R2 SP02

i_logger

Last update: 19.09.2025
1
3
4#pragma once
5#include <string>
6
12{
13namespace core
14{
15namespace logging
16{
17
19enum class LogLevel : int
20{
21 kDebug = 0,
22 kInfo,
23 kWarning,
24 kError,
25
26};
27
31{
32 public:
33 virtual ~ILogger() = default;
34
37 [[nodiscard]] virtual LogLevel GetCurrentLogLevel() const = 0;
38
41 virtual void SetCurrentLogLevel(LogLevel log_level) = 0;
42
46 virtual void Log(LogLevel level, std::string_view message) = 0;
47};
48
49} // namespace logging
50} // namespace core
51} // namespace simulation_framework
This is the concrete Topic class that can be used for creation of a communication channel with given ...
Definition topic.h:38
An interface for implementing custom logging mechanisms.
Definition i_logger.h:31
virtual LogLevel GetCurrentLogLevel() const =0
virtual void Log(LogLevel level, std::string_view message)=0
virtual void SetCurrentLogLevel(LogLevel log_level)=0
The namespace for all core functionalities under namespace simulation_framework.
The top namespace for simulation framework.

Connect with Ansys