Asterisk - The Open Source Telephony Project GIT-master-b023714
|
Verbose logging application. More...
#include "asterisk.h"
#include "asterisk/module.h"
#include "asterisk/app.h"
#include "asterisk/channel.h"
#include "asterisk/logger.h"
Go to the source code of this file.
Functions | |
static void | __reg_module (void) |
static void | __unreg_module (void) |
struct ast_module * | AST_MODULE_SELF_SYM (void) |
static int | load_module (void) |
static int | log_exec (struct ast_channel *chan, const char *data) |
static int | unload_module (void) |
static int | verbose_exec (struct ast_channel *chan, const char *data) |
Variables | |
static struct ast_module_info | __mod_info = { .name = AST_MODULE, .flags = AST_MODFLAG_LOAD_ORDER , .description = "Send verbose output" , .key = ASTERISK_GPL_KEY , .buildopt_sum = AST_BUILDOPT_SUM, .load = load_module, .unload = unload_module, .load_pri = AST_MODPRI_DEFAULT, .support_level = AST_MODULE_SUPPORT_CORE, } |
static char * | app_log = "Log" |
static char * | app_verbose = "Verbose" |
static const struct ast_module_info * | ast_module_info = &__mod_info |
Verbose logging application.
Definition in file app_verbose.c.
|
static |
Definition at line 182 of file app_verbose.c.
|
static |
Definition at line 182 of file app_verbose.c.
struct ast_module * AST_MODULE_SELF_SYM | ( | void | ) |
Definition at line 182 of file app_verbose.c.
|
static |
Definition at line 172 of file app_verbose.c.
References app_log, app_verbose, ast_register_application_xml, log_exec(), and verbose_exec().
|
static |
Definition at line 117 of file app_verbose.c.
References __LOG_DEBUG, __LOG_DTMF, __LOG_ERROR, __LOG_NOTICE, __LOG_VERBOSE, __LOG_WARNING, args, AST_APP_ARG, ast_channel_context(), ast_channel_exten(), ast_channel_priority(), AST_DECLARE_APP_ARGS, ast_log, ast_logger_get_dynamic_level(), AST_MAX_EXTENSION, AST_STANDARD_APP_ARGS, ast_strdupa, ast_strlen_zero(), and LOG_ERROR.
Referenced by load_module().
|
static |
Definition at line 162 of file app_verbose.c.
References app_log, app_verbose, and ast_unregister_application().
|
static |
Definition at line 85 of file app_verbose.c.
References args, AST_APP_ARG, AST_DECLARE_APP_ARGS, ast_log, AST_STANDARD_APP_ARGS, ast_strdupa, ast_strlen_zero(), ast_verb, and LOG_WARNING.
Referenced by load_module().
|
static |
Definition at line 182 of file app_verbose.c.
|
static |
Definition at line 39 of file app_verbose.c.
Referenced by load_module(), and unload_module().
|
static |
Definition at line 38 of file app_verbose.c.
Referenced by load_module(), and unload_module().
|
static |
Definition at line 182 of file app_verbose.c.