mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-03 03:02:15 +00:00
Put in missing \ns on the end of ast_logs (issue #7936 reported by wojtekka)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@43933 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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.
|
||||
|
Reference in New Issue
Block a user