comparison log.h @ 270:55cd41bc50bf libavutil

Move the unaltered Doxygen docs from the log source code to the accompanying header file.
author takis
date Sun, 04 Mar 2007 23:04:49 +0000
parents 0e59652783b7
children d0f3bb6e367e
comparison
equal deleted inserted replaced
269:4c59c3468db0 270:55cd41bc50bf
81 */ 81 */
82 #define AV_LOG_DEBUG 48 82 #define AV_LOG_DEBUG 48
83 #endif 83 #endif
84 extern int av_log_level; 84 extern int av_log_level;
85 85
86 /**
87 * Send the specified message to the log if the level is less than or equal to
88 * the current av_log_level. By default, all logging messages are sent to
89 * stderr. This behavior can be altered by setting a different av_vlog callback
90 * function.
91 *
92 * @param avcl A pointer to an arbitrary struct of which the first field is a
93 * pointer to an AVClass struct.
94 * @param level The importance level of the message, lower values signifying
95 * higher importance.
96 * @param fmt The format string (printf-compatible) that specifies how
97 * subsequent arguments are converted to output.
98 * @see av_vlog
99 */
86 #ifdef __GNUC__ 100 #ifdef __GNUC__
87 extern void av_log(void*, int level, const char *fmt, ...) __attribute__ ((__format__ (__printf__, 3, 4))); 101 extern void av_log(void*, int level, const char *fmt, ...) __attribute__ ((__format__ (__printf__, 3, 4)));
88 #else 102 #else
89 extern void av_log(void*, int level, const char *fmt, ...); 103 extern void av_log(void*, int level, const char *fmt, ...);
90 #endif 104 #endif