summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorTilghman Lesher <tilghman@meg.abyt.es>2012-02-14 20:27:16 +0000
committerTilghman Lesher <tilghman@meg.abyt.es>2012-02-14 20:27:16 +0000
commita78b0af5eab65e1567ecd3c9a7151cc4a5030f92 (patch)
treee72deb318441ebda6d0aea6d84e3bfae8c8c821f /utils
parent51b32041d5a065345837eee5ad9add29b23bcd0e (diff)
Re-commit the verbose branch.
This change permits each verbose destination (consoles, logger) to have its own concept of what the verbosity level is. The big feature here is that the logger will now be able to capture a particular verbosity level without condemning each console to need to suffer that level of verbosity. Additionally, a stray 'core set verbose' will no longer change what will go to the log. Review: https://reviewboard.asterisk.org/r/1599/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@355413 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'utils')
-rw-r--r--utils/ael_main.c2
-rw-r--r--utils/hashtest.c2
-rw-r--r--utils/hashtest2.c2
-rw-r--r--utils/refcounter.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/utils/ael_main.c b/utils/ael_main.c
index 52aa47993..d3a23382a 100644
--- a/utils/ael_main.c
+++ b/utils/ael_main.c
@@ -122,7 +122,7 @@ void ast_cli_unregister_multiple(void);
void ast_context_destroy(void);
void ast_log(int level, const char *file, int line, const char *function, const char *fmt, ...);
char *ast_process_quotes_and_slashes(char *start, char find, char replace_with);
-void __ast_verbose(const char *file, int line, const char *func, const char *fmt, ...);
+void __ast_verbose(const char *file, int line, const char *func, int level, const char *fmt, ...);
struct ast_app *pbx_findapp(const char *app);
void filter_leading_space_from_exprs(char *str);
void filter_newlines(char *str);
diff --git a/utils/hashtest.c b/utils/hashtest.c
index 390e331e0..c06d4ac0a 100644
--- a/utils/hashtest.c
+++ b/utils/hashtest.c
@@ -356,7 +356,7 @@ void ast_log(int level, const char *file, int line, const char *function, const
va_end(vars);
}
-void __ast_verbose(const char *file, int line, const char *func, const char *fmt, ...)
+void __ast_verbose(const char *file, int line, const char *func, int level, const char *fmt, ...)
{
va_list vars;
va_start(vars,fmt);
diff --git a/utils/hashtest2.c b/utils/hashtest2.c
index 5bc628061..47397101e 100644
--- a/utils/hashtest2.c
+++ b/utils/hashtest2.c
@@ -368,7 +368,7 @@ void ast_log(int level, const char *file, int line, const char *function, const
va_end(vars);
}
-void __ast_verbose(const char *file, int line, const char *func, const char *fmt, ...)
+void __ast_verbose(const char *file, int line, const char *func, int level, const char *fmt, ...)
{
va_list vars;
va_start(vars,fmt);
diff --git a/utils/refcounter.c b/utils/refcounter.c
index b45680e0d..58cfa0de2 100644
--- a/utils/refcounter.c
+++ b/utils/refcounter.c
@@ -259,7 +259,7 @@ void ast_log(int level, const char *file, int line, const char *function, const
va_end(vars);
}
-void __ast_verbose(const char *file, int line, const char *func, const char *fmt, ...)
+void __ast_verbose(const char *file, int line, const char *func, int level, const char *fmt, ...)
{
va_list vars;
va_start(vars,fmt);