FFmpeg
Macros | Functions
log.c File Reference

logging functions More...

#include "config.h"
#include <stdarg.h>
#include <stdlib.h>
#include "avutil.h"
#include "bprint.h"
#include "common.h"
#include "internal.h"
#include "log.h"
#include "thread.h"

Macros

#define LINE_SZ   1024
 
#define NB_LEVELS   8
 

Functions

const char * av_default_item_name (void *ptr)
 Return the context name. More...
 
AVClassCategory av_default_get_category (void *ptr)
 
void av_log_format_line (void *ptr, int level, const char *fmt, va_list vl, char *line, int line_size, int *print_prefix)
 Format a line of log the same way as the default callback. More...
 
int av_log_format_line2 (void *ptr, int level, const char *fmt, va_list vl, char *line, int line_size, int *print_prefix)
 Format a line of log the same way as the default callback. More...
 
void av_log_default_callback (void *ptr, int level, const char *fmt, va_list vl)
 Default logging callback. More...
 
void av_log (void *avcl, int level, const char *fmt,...)
 
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. More...
 
int av_log_get_level (void)
 Get the current log level. More...
 
void av_log_set_level (int level)
 Set the log level. More...
 
void av_log_set_flags (int arg)
 
int av_log_get_flags (void)
 
void av_log_set_callback (void(*callback)(void *, int, const char *, va_list))
 Set the logging callback. More...
 
void avpriv_request_sample (void *avc, const char *msg,...)
 
void avpriv_report_missing_feature (void *avc, const char *msg,...)
 

Detailed Description

logging functions