#include <stdarg.h>
#include "avutil.h"
#include "attributes.h"
Go to the source code of this file.
Macros |
| #define | AV_LOG_QUIET -8 |
| | Print no output.
|
| #define | AV_LOG_PANIC 0 |
| | Something went really wrong and we will crash now.
|
| #define | AV_LOG_FATAL 8 |
| | Something went wrong and recovery is not possible.
|
| #define | AV_LOG_ERROR 16 |
| | Something went wrong and cannot losslessly be recovered.
|
| #define | AV_LOG_WARNING 24 |
| | Something somehow does not look correct.
|
| #define | AV_LOG_INFO 32 |
| | Standard information.
|
| #define | AV_LOG_VERBOSE 40 |
| | Detailed information.
|
| #define | AV_LOG_DEBUG 48 |
| | Stuff which is only useful for libav* developers.
|
| #define | av_dlog(pctx,...) |
| | av_dlog macros Useful to print debug messages that shouldn't get compiled in normally.
|
| #define | AV_LOG_SKIP_REPEATED 1 |
| | Skip repeated messages, this requires the user app to use av_log() instead of (f)printf as the 2 would otherwise interfere and lead to "Last message repeated x times" messages below (f)printf messages with some bad luck.
|
Functions |
| void | av_log (void *avcl, int level, const char *fmt,...) av_printf_format(3 |
| | Send the specified message to the log if the level is less than or equal to the current av_log_level.
|
| void void | av_vlog (void *avcl, int level, const char *fmt, va_list vl) |
| | Send the specified message to the log if the level is less than or equal to the current av_log_level.
|
| int | av_log_get_level (void) |
| | Get the current log level.
|
| void | av_log_set_level (int level) |
| | Set the log level.
|
| void | av_log_set_callback (void(*callback)(void *, int, const char *, va_list)) |
| | Set the logging callback.
|
| void | av_log_default_callback (void *avcl, int level, const char *fmt, va_list vl) |
| | Default logging callback.
|
| const char * | av_default_item_name (void *ctx) |
| | Return the context name.
|
| void | av_log_set_flags (int arg) |