aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk/logger.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asterisk/logger.h')
-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 ac764baa4..2f5adc769 100644
--- a/include/asterisk/logger.h
+++ b/include/asterisk/logger.h
@@ -43,7 +43,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.