summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2006-09-28 18:09:01 +0000
committerJoshua Colp <jcolp@digium.com>2006-09-28 18:09:01 +0000
commit29d27bfe0d50c383f6d1e44fa4d72cc244b62437 (patch)
tree753be8528d7f8e0c34c4a9ef98c756108d5f84df /include
parent5ae60ec27275d1cc95141721d62ab0ee0fa9e6ce (diff)
Merged revisions 43933 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r43933 | file | 2006-09-28 14:05:43 -0400 (Thu, 28 Sep 2006) | 2 lines Put in missing \ns on the end of ast_logs (issue #7936 reported by wojtekka) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43934 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include')
-rw-r--r--include/asterisk/logger.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asterisk/logger.h b/include/asterisk/logger.h
index 6e486620d..b4737d06c 100644
--- a/include/asterisk/logger.h
+++ b/include/asterisk/logger.h
@@ -48,7 +48,7 @@ extern "C" {
/*! Used for sending a log message */
/*!
\brief This is the standard logger function. Probably the only way you will invoke it would be something like this:
- ast_log(LOG_WHATEVER, "Problem with the %s Captain. We should get some more. Will %d be enough?", "flux capacitor", 10);
+ ast_log(LOG_WHATEVER, "Problem with the %s Captain. We should get some more. Will %d be enough?\n", "flux capacitor", 10);
where WHATEVER is one of ERROR, DEBUG, EVENT, NOTICE, or WARNING depending
on which log you wish to output to. These are implemented as macros, that
will provide the function with the needed arguments.