Class uipc::Logger
ClassList > uipc > Logger
Public Types
| Type |
Name |
| typedef spdlog::level::level_enum |
Level
|
Public Functions
| Type |
Name |
| void |
critical (std::string_view fmt, Args &&... args)
|
| void |
debug (std::string_view fmt, Args &&... args)
|
| void |
error (std::string_view fmt, Args &&... args)
|
| spdlog::level::level_enum |
get_level () const
|
| void |
info (std::string_view fmt, Args &&... args)
|
| void |
log (Level level, std::string_view fmt, Args &&... args)
|
| void |
set_level (spdlog::level::level_enum level)
|
| void |
set_pattern (std::string_view pattern)
|
| void |
warn (std::string_view fmt, Args &&... args)
|
Public Static Functions
Public Types Documentation
typedef Level
using uipc::Logger::Level = spdlog::level::level_enum;
Public Functions Documentation
function critical
template<typename... Args>
inline void uipc::Logger::critical (
std::string_view fmt,
Args &&... args
)
function debug
template<typename... Args>
inline void uipc::Logger::debug (
std::string_view fmt,
Args &&... args
)
function error
template<typename... Args>
inline void uipc::Logger::error (
std::string_view fmt,
Args &&... args
)
function get_level
spdlog::level::level_enum uipc::Logger::get_level () const
function info
template<typename... Args>
inline void uipc::Logger::info (
std::string_view fmt,
Args &&... args
)
function log
template<typename... Args>
inline void uipc::Logger::log (
Level level,
std::string_view fmt,
Args &&... args
)
function set_level
void uipc::Logger::set_level (
spdlog::level::level_enum level
)
function set_pattern
void uipc::Logger::set_pattern (
std::string_view pattern
)
function warn
template<typename... Args>
inline void uipc::Logger::warn (
std::string_view fmt,
Args &&... args
)
Public Static Functions Documentation
function create_console_logger
static Logger uipc::Logger::create_console_logger (
std::string_view logger_name,
spdlog::sink_ptr sink_ptr=nullptr
)
function current_logger [1/2]
static void uipc::Logger::current_logger (
Logger logger
)
function current_logger [2/2]
static Logger uipc::Logger::current_logger ()
The documentation for this class was generated from the following file include/uipc/common/logger.h