Kodi Documentation  20.0
Kodi is an open source media player and entertainment hub.
log.h File Reference
#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>
Include dependency graph for log.h:

Classes

class  spdlog::sinks::dist_sink< Mutex >
 
class  CLog
 
class  XbmcUtils::LogImplementation
 

Namespaces

 spdlog
 
 spdlog::sinks
 
 XbmcUtils
 

Macros

#define SPDLOG_LEVEL_NAMES   {"TRACE", "DEBUG", "INFO", "WARNING", "ERROR", "FATAL", "OFF"};
 
#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   {"TRACE", "DEBUG", "INFO", "WARNING", "ERROR", "FATAL", "OFF"};