mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-29 18:19:30 +00:00
automerge commit
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2-netsec@43931 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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.
|
||||
|
Reference in New Issue
Block a user