Kodi Docs 20.0
Kodi is an open source media player and entertainment hub.
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/StringUtils.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, ...)   LogFunction((level), __FUNCTION__, (format), ##__VA_ARGS__)
 
#define LogFC(level, component, format, ...)    LogFunction((level), __FUNCTION__, (component), (format), ##__VA_ARGS__)
 

Macro Definition Documentation

◆ LogF

#define LogF (   level,
  format,
  ... 
)    LogFunction((level), __FUNCTION__, (format), ##__VA_ARGS__)

◆ LogFC

#define LogFC (   level,
  component,
  format,
  ... 
)     LogFunction((level), __FUNCTION__, (component), (format), ##__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"} \
};