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, ...)
 
#define LogFC(level, component, format, ...)
 

Macro Definition Documentation

◆ LogF

#define LogF ( level,
format,
... )
Value:
Log((level), ("{}: " format), __FUNCTION__, ##__VA_ARGS__)
const char unsigned int int int int int64_t int enum AudioEngineDataFormat * format
Definition addons/kodi-dev-kit/include/kodi/c-api/addon-instance/AudioDecoder.h:113

◆ LogFC

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