Skip to main content

AVxcelerate Simulation Framework 2025 R2 SP02

simulation_framework::core::logging::ILogger Class Reference

Last update: 19.09.2025

An interface for implementing custom logging mechanisms. More...

#include <i_logger.h>

Inheritance diagram for simulation_framework::core::logging::ILogger:

Public Member Functions

virtual LogLevel GetCurrentLogLevel () const =0
 
virtual void SetCurrentLogLevel (LogLevel log_level)=0
 
virtual void Log (LogLevel level, std::string_view message)=0
 

Detailed Description

An interface for implementing custom logging mechanisms.

Definition at line 30 of file i_logger.h.

Member Function Documentation

◆ GetCurrentLogLevel()

virtual LogLevel simulation_framework::core::logging::ILogger::GetCurrentLogLevel ( ) const
pure virtual

Get the current log level from the logging interface

Returns
The current log level

Implemented in simulation_framework::core::logging::ConsoleLogger.

◆ Log()

virtual void simulation_framework::core::logging::ILogger::Log ( LogLevel  level,
std::string_view  message 
)
pure virtual

Log a message on the logging interface

Parameters
[in]levelThe log level of the message
[in]messageThe log message

Implemented in simulation_framework::core::logging::ConsoleLogger.

◆ SetCurrentLogLevel()

virtual void simulation_framework::core::logging::ILogger::SetCurrentLogLevel ( LogLevel  log_level)
pure virtual

Set the current log level

Parameters
[in]levelThe log level of the message

Implemented in simulation_framework::core::logging::ConsoleLogger.


The documentation for this class was generated from the following file:

Connect with Ansys