log: Document AV_LOG_C usage

And move outside the wrong doxygen group.
This commit is contained in:
Luca Barbato 2014-04-03 13:51:48 +00:00 committed by Vittorio Giovara
parent 28b9ac4e48
commit 42ba1c51d9
1 changed files with 10 additions and 8 deletions

View File

@ -143,18 +143,20 @@ typedef struct AVClass {
*/ */
#define AV_LOG_DEBUG 48 #define AV_LOG_DEBUG 48
/**
* Sets additional colors for extended debugging sessions.
* Requires 256color terminal support. Use outside debugging is not
* recommended.
*/
#define AV_LOG_C(x) (x << 8)
/** /**
* @} * @}
*/ */
/**
* Sets additional colors for extended debugging sessions.
* @code
av_log(ctx, AV_LOG_DEBUG|AV_LOG_C(134), "Message in purple\n");
@endcode
* Requires 256color terminal support. Uses outside debugging is not
* recommended.
*/
#define AV_LOG_C(x) (x << 8)
/** /**
* Send the specified message to the log if the level is less than or equal * 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 * to the current av_log_level. By default, all logging messages are sent to