Sets additional colors for extended debugging sessions.
Requires 256color terminal support. Uses outside debugging is not recommended.
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.
Also to receive the last, "last repeated" line if any, the user app must call av_log(NULL, AV_LOG_QUIET, "%s", ""); at the end
Definition at line 333 of file log.h.
Referenced by av_log_default_callback(), main(), and opt_loglevel().
Include the log severity in messages originating from codecs.
Results in messages such as: [rawvideo @ 0xDEADBEEF] [error] encode did not produce valid pts
Definition at line 341 of file log.h.
Referenced by format_line().
Send the specified message to the log if the level is less than or equal to the current av_log_level.
By default, all logging messages are sent to stderr. This behavior can be altered by setting a different logging callback function.
Send the specified message to the log if the level is less than or equal to the current av_log_level.
By default, all logging messages are sent to stderr. This behavior can be altered by setting a different logging callback function.
Definition at line 356 of file log.c.
Referenced by ass_log(), av_log(), av_log_ask_for_sample(), missing_feature_sample(), rtmp_log(), vreport_config_error(), vs2av_log(), X264_log(), and XAVS_log().
Get the current log level.
Definition at line 363 of file log.c.
Referenced by avcodec_string(), check_keyboard_interaction(), filter_frame(), hex_log(), http_av_log(), init(), print_report(), and rtmp_open().
Set the log level.
Definition at line 368 of file log.c.
Referenced by check_keyboard_interaction(), main(), opt_default(), and opt_loglevel().
Set the logging callback.
Definition at line 383 of file log.c.
Referenced by init_report(), main(), show_buildconf(), show_help(), show_help_default(), and show_version().
Default logging callback.
It prints the message to stderr, optionally colorizing it.
Definition at line 284 of file log.c.
Referenced by log_callback_report().
Format a line of log the same way as the default callback.
Definition at line 275 of file log.c.
Referenced by log_callback_report().
Definition at line 373 of file log.c.
Referenced by main(), and opt_loglevel().
Definition at line 378 of file log.c.
Referenced by opt_loglevel().