Asterisk - The Open Source Telephony Project GIT-master-f36a736
|
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 = "This paragraph is copyright (c) 2006 by Digium, Inc. \In order for your module to load, it must return this \key via a function called \"key\". Any code which \includes this paragraph must be licensed under the GNU \General Public License version 2 or later (at your \option). In addition to Digium's general reservations \of rights, Digium expressly reserves the right to \allow other parties to license this paragraph under \different terms. Any use of Digium, Inc. trademarks or \logos (including \"Asterisk\" or \"Digium\") without \express written permission of Digium, Inc. is prohibited.\n" , .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 176 of file app_verbose.c.
|
static |
Definition at line 176 of file app_verbose.c.
struct ast_module * AST_MODULE_SELF_SYM | ( | void | ) |
Definition at line 176 of file app_verbose.c.
|
static |
Definition at line 166 of file app_verbose.c.
References app_log, app_verbose, ast_register_application_xml, log_exec(), and verbose_exec().
|
static |
Definition at line 111 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(), voicemailpwcheck::context, and LOG_ERROR.
Referenced by load_module().
|
static |
Definition at line 156 of file app_verbose.c.
References app_log, app_verbose, and ast_unregister_application().
|
static |
Definition at line 79 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 176 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 176 of file app_verbose.c.