changeset 247:afd1323ade1c libavutil

Adds Doxygen docs for the av_log function.
author takis
date Tue, 20 Feb 2007 12:41:47 +0000
parents 60748db91fb3
children 5feb5bb5d89f
files log.c
diffstat 1 files changed, 14 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/log.c	Fri Feb 16 21:19:42 2007 +0000
+++ b/log.c	Tue Feb 20 12:41:47 2007 +0000
@@ -51,6 +51,20 @@
 void (*av_vlog)(void*, int, const char*, va_list) = av_log_default_callback;
 #endif
 
+/**
+ * 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 av_vlog callback
+ * function.
+ *
+ * @param avcl A pointer to an arbitrary struct of which the first field is a
+ * pointer to an AVClass struct.
+ * @param level The importance level of the message, lower values signifying
+ * higher importance.
+ * @param fmt The format string (printf-compatible) that specifies how
+ * subsequent arguments are converted to output.
+ * @see av_vlog
+ */
 void av_log(void* avcl, int level, const char *fmt, ...)
 {
     va_list vl;