i_logger Last update: 16.07.2025 1 3 4 #pragma once 5 #include <string> 6 11 namespace simulation_framework 12 { 13 namespace core 14 { 15 namespace logging 16 { 17 19 enum class LogLevel : int 20 { 21 kTrace = 0, 22 kDebug, 23 kInfo, 24 kWarning, 25 kError, 26 }; 27 30 class ILogger 31 { 32 public: 33 virtual ~ILogger() = default; 34 37 [[nodiscard]] virtual LogLevel GetCurrentLogLevel() const = 0; 38 42 virtual void Log(LogLevel level, std::string_view message) = 0; 43 }; 44 45 } // namespace logging 46 } // namespace core 47 } // namespace simulation_framework