From 29d27bfe0d50c383f6d1e44fa4d72cc244b62437 Mon Sep 17 00:00:00 2001 From: Joshua Colp Date: Thu, 28 Sep 2006 18:09:01 +0000 Subject: 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 --- include/asterisk/logger.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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. -- cgit v1.2.3