Chrysalis - Logging
Loading...
Searching...
No Matches
Logging::Logger Class Reference

#include <Logger.h>

Public Member Functions

const char * getName () const
spdlog::level::level_enum getLevel () const
void setLevel (spdlog::level::level_enum level)
void flush () const
void addSink (const std::shared_ptr< spdlog::sinks::sink > &sink)
template<typename... Args>
void log (spdlog::level::level_enum lvl, spdlog::format_string_t< Args... > fmt, Args &&... args)
template<typename... Args>
void trace (spdlog::format_string_t< Args... > fmt, Args &&... args)
template<typename... Args>
void debug (spdlog::format_string_t< Args... > fmt, Args &&... args)
template<typename... Args>
void info (spdlog::format_string_t< Args... > fmt, Args &&... args)
template<typename... Args>
void warn (spdlog::format_string_t< Args... > fmt, Args &&... args)
template<typename... Args>
void error (spdlog::format_string_t< Args... > fmt, Args &&... args)
template<typename... Args>
void critical (spdlog::format_string_t< Args... > fmt, Args &&... args)

Static Public Attributes

static constexpr short LOGGER_NAME_LENGTH = 20

Friends

class LoggerRegistry

Member Function Documentation

◆ addSink()

void Logger::addSink ( const std::shared_ptr< spdlog::sinks::sink > & sink)

◆ critical()

template<typename... Args>
void Logging::Logger::critical ( spdlog::format_string_t< Args... > fmt,
Args &&... args )
inline
Here is the call graph for this function:

◆ debug()

template<typename... Args>
void Logging::Logger::debug ( spdlog::format_string_t< Args... > fmt,
Args &&... args )
inline
Here is the call graph for this function:

◆ error()

template<typename... Args>
void Logging::Logger::error ( spdlog::format_string_t< Args... > fmt,
Args &&... args )
inline
Here is the call graph for this function:

◆ flush()

void Logger::flush ( ) const

◆ getLevel()

spdlog::level::level_enum Logger::getLevel ( ) const

◆ getName()

const char * Logger::getName ( ) const

◆ info()

template<typename... Args>
void Logging::Logger::info ( spdlog::format_string_t< Args... > fmt,
Args &&... args )
inline
Here is the call graph for this function:

◆ log()

template<typename... Args>
void Logging::Logger::log ( spdlog::level::level_enum lvl,
spdlog::format_string_t< Args... > fmt,
Args &&... args )
inline
Here is the caller graph for this function:

◆ setLevel()

void Logger::setLevel ( spdlog::level::level_enum level)

◆ trace()

template<typename... Args>
void Logging::Logger::trace ( spdlog::format_string_t< Args... > fmt,
Args &&... args )
inline
Here is the call graph for this function:

◆ warn()

template<typename... Args>
void Logging::Logger::warn ( spdlog::format_string_t< Args... > fmt,
Args &&... args )
inline
Here is the call graph for this function:

◆ LoggerRegistry

friend class LoggerRegistry
friend

Member Data Documentation

◆ LOGGER_NAME_LENGTH

short Logging::Logger::LOGGER_NAME_LENGTH = 20
staticconstexpr

The documentation for this class was generated from the following files:
  • /opt/buildagent/work/edabedf7a47abebc/logging/include/Logger.h
  • /opt/buildagent/work/edabedf7a47abebc/logging/src/Logger.cpp