Logging functions.
More...
Go to the source code of this file.
|
#define | msg_GenericVa(o, p, fmt, ap) |
|
#define | msg_Generic(o, p, ...) |
|
#define | msg_Info(p_this, ...) msg_Generic(p_this, VLC_MSG_INFO, __VA_ARGS__) |
|
#define | msg_Err(p_this, ...) msg_Generic(p_this, VLC_MSG_ERR, __VA_ARGS__) |
|
#define | msg_Warn(p_this, ...) msg_Generic(p_this, VLC_MSG_WARN, __VA_ARGS__) |
|
#define | msg_Dbg(p_this, ...) msg_Generic(p_this, VLC_MSG_DBG, __VA_ARGS__) |
|
#define | vlc_log_gen(logger, prio, ...) |
|
#define | vlc_info(logger, ...) vlc_log_gen(logger, VLC_MSG_INFO, __VA_ARGS__) |
|
#define | vlc_error(logger, ...) vlc_log_gen(logger, VLC_MSG_ERR, __VA_ARGS__) |
|
#define | vlc_warning(logger, ...) vlc_log_gen(logger, VLC_MSG_WARN, __VA_ARGS__) |
|
#define | vlc_debug(logger, ...) vlc_log_gen(logger, VLC_MSG_DBG, __VA_ARGS__) |
|
|
typedef struct vlc_log_t | vlc_log_t |
| Log message.
|
|
typedef void(* | vlc_log_cb) (void *data, int type, const vlc_log_t *item, const char *fmt, va_list args) |
| Message logging callback signature.
|
|
|
void | vlc_object_Log (vlc_object_t *obj, int type, const char *module, const char *file, unsigned line, const char *func, const char *format,...) |
| Emit a log message.
|
|
void | vlc_object_vaLog (vlc_object_t *obj, int prio, const char *module, const char *file, unsigned line, const char *func, const char *format, va_list ap) |
| Emit a log message.
|
|
const char * | vlc_strerror (int) |
| Formats an error message in the current locale.
|
|
const char * | vlc_strerror_c (int) |
| Formats an error message in the POSIX/C locale (i.e.
|
|
void | vlc_Log (struct vlc_logger *const *logger, int prio, const char *type, const char *module, const char *file, unsigned line, const char *func, const char *format,...) |
|
void | vlc_vaLog (struct vlc_logger *const *logger, int prio, const char *type, const char *module, const char *file, unsigned line, const char *func, const char *format, va_list ap) |
|
struct vlc_logger * | vlc_LogHeaderCreate (struct vlc_logger *parent, const char *str) |
| Creates a prefixed message log.
|
|
void | vlc_LogDestroy (struct vlc_logger *) |
| Destroys a message log.
|
|