Log spandsp's fax debug output to the FAX logger level.

Review: https://reviewboard.asterisk.org/r/658



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@264953 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Michelson
2010-05-21 15:15:58 +00:00
parent fe9c315171
commit 0a63e3fa10
4 changed files with 29 additions and 1 deletions

View File

@@ -256,4 +256,15 @@ unsigned int ast_fax_maxrate(void);
/*! \brief convert an ast_fax_state to a string */
const char *ast_fax_state_to_str(enum ast_fax_state state);
/*!
* \brief Log message at FAX or recommended level
*
* The first four parameters can be represented with Asterisk's
* LOG_* levels. In other words, this function may be called
* like
*
* ast_fax_log(LOG_DEBUG, msg);
*/
void ast_fax_log(int level, const char *file, const int line, const char *function, const char *msg);
#endif