Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
log.h File Reference
#include <string_view>
#include "commons/ilog.h"
#include "settings/lib/ISettingCallback.h"
#include "settings/lib/ISettingsHandler.h"
#include "settings/lib/SettingDefinitions.h"
#include "utils/IPlatformLog.h"
#include "utils/logtypes.h"
#include <string>
#include <vector>
#include <spdlog/spdlog.h>

Classes

class  CLog
 

Namespaces

namespace  spdlog
 
namespace  spdlog::sinks
 

Macros

#define SPDLOG_LEVEL_NAMES
 
#define LogF(level, format, ...)   Log((level), ("{}: " format), __FUNCTION__, ##__VA_ARGS__)
 
#define LogFC(level, component, format, ...)    Log((level), (component), ("{}: " format), __FUNCTION__, ##__VA_ARGS__)
 

Macro Definition Documentation

◆ LogF

#define LogF ( level,
format,
... )   Log((level), ("{}: " format), __FUNCTION__, ##__VA_ARGS__)

◆ LogFC

#define LogFC ( level,
component,
format,
... )    Log((level), (component), ("{}: " format), __FUNCTION__, ##__VA_ARGS__)

◆ SPDLOG_LEVEL_NAMES

#define SPDLOG_LEVEL_NAMES
Value:
{ \
std::string_view{"TRACE"}, \
std::string_view{"DEBUG"}, \
std::string_view{"INFO"}, \
std::string_view{"WARNING"}, \
std::string_view{"ERROR"}, \
std::string_view{"FATAL"}, \
std::string_view{"OFF"} \
};