API referenceC++ APIClassesholoscan::LoggerBetaAsk a question|Copy page|View as Markdown|More actionsA logger class that wraps spdlog. Please see the spdlog documentation for more details of the API. #include <holoscan/logger.hpp> Methods log_message Overload 1Overload 2static void holoscan::Logger::log_message( const char *file, int line, const char *function_name, LogLevel level, fmt::string_view format, fmt::format_args args) Static methods set_level static void holoscan::Logger::set_level( LogLevel level, bool *is_overridden_by_env = nullptr) level static LogLevel holoscan::Logger::level() set_pattern static void holoscan::Logger::set_pattern( std::string pattern = "", bool *is_overridden_by_env = nullptr) pattern static std::string & holoscan::Logger::pattern() log Overload 1Overload 2template <typename FormatT, typename... ArgsT>static void holoscan::Logger::log( const char *file, int line, const char *function_name, LogLevel level, const FormatT &format, ArgsT &&... args) Member variables NameTypeDescriptionlog_pattern_set_by_user staticboolFlag to indicate if the log pattern was set by the user.log_level_set_by_user staticboolFlag to indicate if the log level was set by the user.