diff options
author | Joshua Colp <jcolp@digium.com> | 2016-05-19 05:31:19 -0500 |
---|---|---|
committer | Gerrit Code Review <gerrit2@gerrit.digium.api> | 2016-05-19 05:31:19 -0500 |
commit | 5acb25722ca16e06b14514743923125a055d1867 (patch) | |
tree | 6501d4ce55eb13fd38e6116fdb6a906a3c2f65e6 /include | |
parent | b57032c3646229ab5abcb16f8a7e77bde350afae (diff) | |
parent | 352237651270c1e766cd7b0eecbf615b495cb833 (diff) |
Merge "logger: Support JSON logging with Verbose messages"
Diffstat (limited to 'include')
-rw-r--r-- | include/asterisk/logger.h | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/include/asterisk/logger.h b/include/asterisk/logger.h index bf8ce6acf..9f9f671c0 100644 --- a/include/asterisk/logger.h +++ b/include/asterisk/logger.h @@ -195,11 +195,25 @@ int ast_unregister_verbose(void (*verboser)(const char *string)) attribute_warn_ void ast_console_puts(const char *string); /*! - * \brief log the string to the console, and all attached - * console clients + * \brief log the string to the console, and all attached console clients + * + * \param string The message to write to the console + * \param level The log level of the message + * * \version 1.6.1 added level parameter */ void ast_console_puts_mutable(const char *string, int level); + +/*! + * \brief log the string to the console, and all attached console clients + * \since 14.0.0 + * + * \param message The message to write to the console + * \param sublevel If the log level supports it, the sub-level of the message + * \param level The log level of the message + */ +void ast_console_puts_mutable_full(const char *message, int level, int sublevel); + void ast_console_toggle_mute(int fd, int silent); /*! |