mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-16 14:58:25 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user