summaryrefslogtreecommitdiff
path: root/libavutil/log.c
diff options
context:
space:
mode:
authorPanagiotis Issaris <takis.issaris@uhasselt.be>2007-02-20 12:41:47 +0000
committerPanagiotis Issaris <takis.issaris@uhasselt.be>2007-02-20 12:41:47 +0000
commit0f482cfcb27ecc6be502562feaa1172155193cfc (patch)
tree43e2ca2726f904b973565248aaf4208a8403a2bb /libavutil/log.c
parent346a655d467915a2a96019104d6ec7cdd859f1f9 (diff)
Adds Doxygen docs for the av_log function.
Originally committed as revision 8040 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil/log.c')
-rw-r--r--libavutil/log.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/libavutil/log.c b/libavutil/log.c
index 4fd503d0de..1abc22edf1 100644
--- a/libavutil/log.c
+++ b/libavutil/log.c
@@ -51,6 +51,20 @@ static void (*av_log_callback)(void*, int, const char*, va_list) = av_log_defaul
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;