mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-22 12:52:33 +00:00
Adds support for changing logger settingss on remote consoles with a
new command "logger set level". i.e. "logger set level debug off" (closes issue #10891) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@119126 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -88,8 +88,9 @@ int ast_unregister_verbose(void (*verboser)(const char *string)) __attribute__((
|
||||
|
||||
void ast_console_puts(const char *string);
|
||||
|
||||
void ast_console_puts_mutable(const char *string);
|
||||
void ast_console_puts_mutable(const char *string, int level);
|
||||
void ast_console_toggle_mute(int fd, int silent);
|
||||
void ast_console_toggle_loglevel(int fd, int leve, int state);
|
||||
|
||||
/* Note: The AST_LOG_* macros below are the same as
|
||||
* the LOG_* macros and are intended to eventually replace
|
||||
@@ -178,6 +179,8 @@ void ast_console_toggle_mute(int fd, int silent);
|
||||
#endif
|
||||
#define AST_LOG_DTMF __LOG_DTMF, _A_
|
||||
|
||||
#define NUMLOGLEVELS 6
|
||||
|
||||
/*!
|
||||
* \brief Get the debug level for a file
|
||||
* \arg file the filename
|
||||
|
Reference in New Issue
Block a user