#include <log.h>
|
static void | SettingOptionsLoggingComponentsFiller (const std::shared_ptr< const CSetting > &setting, std::vector< IntegerSettingOption > &list, int ¤t, void *data) |
|
template<typename... Args> |
static void | Log (int level, fmt::format_string< Args... > format, Args &&... args) |
|
template<typename... Args> |
static void | Log (int level, uint32_t component, fmt::format_string< Args... > format, Args &&... args) |
|
template<typename... Args> |
static void | Log (spdlog::level::level_enum level, fmt::format_string< Args... > format, Args &&... args) |
|
template<typename... Args> |
static void | Log (spdlog::level::level_enum level, uint32_t component, fmt::format_string< Args... > format, Args &&... args) |
|
◆ CLog()
◆ ~CLog()
◆ CanLogComponent()
bool CLog::CanLogComponent |
( |
uint32_t | component | ) |
const |
◆ Deinitialize()
void CLog::Deinitialize |
( |
| ) |
|
◆ GetLogger()
Logger CLog::GetLogger |
( |
const std::string & | loggerName | ) |
|
◆ GetLogLevel()
int CLog::GetLogLevel |
( |
| ) |
|
|
inline |
◆ Initialize()
void CLog::Initialize |
( |
const std::string & | path | ) |
|
◆ IsLogLevelLogged()
bool CLog::IsLogLevelLogged |
( |
int | loglevel | ) |
|
◆ Log() [1/4]
template<typename... Args>
static void CLog::Log |
( |
int | level, |
|
|
fmt::format_string< Args... > | format, |
|
|
Args &&... | args ) |
|
inlinestatic |
◆ Log() [2/4]
template<typename... Args>
static void CLog::Log |
( |
int | level, |
|
|
uint32_t | component, |
|
|
fmt::format_string< Args... > | format, |
|
|
Args &&... | args ) |
|
inlinestatic |
◆ Log() [3/4]
template<typename... Args>
static void CLog::Log |
( |
spdlog::level::level_enum | level, |
|
|
fmt::format_string< Args... > | format, |
|
|
Args &&... | args ) |
|
inlinestatic |
◆ Log() [4/4]
template<typename... Args>
static void CLog::Log |
( |
spdlog::level::level_enum | level, |
|
|
uint32_t | component, |
|
|
fmt::format_string< Args... > | format, |
|
|
Args &&... | args ) |
|
inlinestatic |
◆ OnSettingChanged()
void CLog::OnSettingChanged |
( |
const std::shared_ptr< const CSetting > & | setting | ) |
|
|
overridevirtual |
The value of the given setting has changed.
This callback is triggered whenever the value of a setting has been successfully changed (i.e. none of the OnSettingChanging() handlers) has reverted the change.
- Parameters
-
setting | The setting whose value has been changed |
Reimplemented from ISettingCallback.
◆ OnSettingsLoaded()
void CLog::OnSettingsLoaded |
( |
| ) |
|
|
overridevirtual |
Settings have been loaded.
This callback can be used to trigger loading other settings.
Reimplemented from ISettingsHandler.
◆ SetLogLevel()
void CLog::SetLogLevel |
( |
int | level | ) |
|
◆ SettingOptionsLoggingComponentsFiller()
◆ UnregisterFromSettings()
void CLog::UnregisterFromSettings |
( |
| ) |
|
The documentation for this class was generated from the following files: