32 char const* fmt, va_list va);
34 char const* fmt, ...);
38 #ifndef MIR_LOG_COMPONENT 39 #ifdef MIR_LOG_COMPONENT_FALLBACK 40 #define MIR_LOG_COMPONENT MIR_LOG_COMPONENT_FALLBACK 44 #ifdef MIR_LOG_COMPONENT 52 MIR_LOG_COMPONENT, message);
55 template<
typename... Args>
56 void log_info(
char const* fmt, Args&&... args)
59 MIR_LOG_COMPONENT, fmt, std::forward<Args>(args)...);
62 template<
typename... Args>
63 void log_error(
char const* fmt, Args&&... args)
66 MIR_LOG_COMPONENT, fmt, std::forward<Args>(args)...);
69 template<
typename... Args>
70 inline void log_debug(
char const* fmt, Args&&... args)
73 MIR_LOG_COMPONENT, fmt, std::forward<Args>(args)...);
76 inline void log_critical(
std::string const& message)
79 MIR_LOG_COMPONENT, message);
85 MIR_LOG_COMPONENT, message);
91 MIR_LOG_COMPONENT, message);
94 template<
typename... Args>
95 void log_warning(
char const* fmt, Args&&... args)
98 MIR_LOG_COMPONENT, fmt, std::forward<Args>(args)...);
Definition: as_render_target.h:27
void log(logging::Severity sev, const char *component, std::string const &message)
void logv(logging::Severity sev, const char *component, char const *fmt, va_list va)
void log(logging::Severity sev, const char *component, char const *fmt,...)
Severity
Definition: logger.h:30