From: salsaman <sal...@xs...> - 2004-10-02 08:56:32
|
Duilio Javier Protti wrote: >I have implemented visual_log_set_verboseness() on >libvisual core. We can set these: > >typedef enum { > > VISUAL_LOG_VERBOSENESS_NONE, /**< Show only VISUAL_LOG_INFO > and VISUAL_LOG_ERROR messages. */ > > VISUAL_LOG_VERBOSENESS_LOW, /**< Show only VISUAL_LOG_INFO, > VISUAL_LOG_ERROR and > VISUAL_LOG_CRITICAL messages. */ > > VISUAL_LOG_VERBOSENESS_MEDIUM, /**< Show all log messages > except VISUAL_LOG_DEBUG ones. */ > > VISUAL_LOG_VERBOSENESS_HIGH /**< Show all log messages. */ > >} VisLogVerboseness; > > Ermm...shouldnt' VERBOSENESS_NONE produce NO output ? Or can there be a mode LOG_VERBOSENESS_REALLY_REALLY_NONE :-) Anyway haven't you got it the wrong way round, at lower verboseness levels, only the most critical messages should be shown. Salsaman. |