diff options
author | Tilghman Lesher <tilghman@meg.abyt.es> | 2011-11-29 18:43:16 +0000 |
---|---|---|
committer | Tilghman Lesher <tilghman@meg.abyt.es> | 2011-11-29 18:43:16 +0000 |
commit | 77b670c4ab62db2fa2386e15aa6ae4860bb401c9 (patch) | |
tree | fba9c5d22c4c3dea695dac6c51a49316f6381b4d /apps/app_verbose.c | |
parent | d7dec4f14fc018d18ed480358f9a265b81b230b9 (diff) |
Allow each logging destination and console to have its own notion of the verbosity level.
Review: https://reviewboard.asterisk.org/r/1599
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@346391 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_verbose.c')
-rw-r--r-- | apps/app_verbose.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/app_verbose.c b/apps/app_verbose.c index ca1a010cc..c8c64617c 100644 --- a/apps/app_verbose.c +++ b/apps/app_verbose.c @@ -103,19 +103,19 @@ static int verbose_exec(struct ast_channel *chan, const char *data) if (option_verbose >= vsize) { switch (vsize) { case 0: - ast_verbose("%s\n", args.msg); + ast_verb(0, "%s\n", args.msg); break; case 1: - ast_verbose(VERBOSE_PREFIX_1 "%s\n", args.msg); + ast_verb(1, "%s\n", args.msg); break; case 2: - ast_verbose(VERBOSE_PREFIX_2 "%s\n", args.msg); + ast_verb(2, "%s\n", args.msg); break; case 3: - ast_verbose(VERBOSE_PREFIX_3 "%s\n", args.msg); + ast_verb(3, "%s\n", args.msg); break; default: - ast_verbose(VERBOSE_PREFIX_4 "%s\n", args.msg); + ast_verb(4, "%s\n", args.msg); } } |