[Asterisk-Dev] Coding convention: ast_log vs. ast_verbose
Tilghman Lesher
tilghman at mail.jeffandtilghman.com
Thu Oct 20 08:46:38 MST 2005
On Thursday 20 October 2005 04:54, Otmar Lendl wrote:
> Is there a defined policy regarding when to use ast_log versus
> ast_verbose?
>
> My guess is that ast_log is for writing to logfiles and thus for
>
> * very detailed debugging output
> * anything you want to postprocess with a script
> * anything you want to save directly to a file
>
> whereas ast_verbose is for
>
> * anything you want ot see in the console
> * shoudl give basic info on what this module is doing
> * vebosity should be configurable
>
> Is this correct?
Close enough. I don't think there is a defined policy. Generally,
though, LOG_NOTICE messages are about as important as verbose messages.
--
Tilghman
More information about the asterisk-dev
mailing list