Asterisk - The Open Source Telephony Project GIT-master-f36a736
|
Data Fields | |
char | components [0] |
int | disabled |
int | dynamic |
int | facility |
char | filename [PATH_MAX] |
FILE * | fileptr |
struct logformatter | formatter |
int | lineno |
struct { | |
struct logchannel * next | |
} | list |
unsigned int | logmask |
enum logtypes | type |
int | verbosity |
char components[0] |
Components (levels) from last config load
Definition at line 162 of file logger.c.
Referenced by ast_logger_create_channel(), make_components(), and make_logchannel().
int disabled |
If this channel is disabled or not
Definition at line 144 of file logger.c.
Referenced by ast_logger_get_channels(), ast_logger_rotate_channel(), handle_logger_show_channels(), logger_print_normal(), and reload_logger().
int dynamic |
Whether this log channel was created dynamically
Definition at line 160 of file logger.c.
Referenced by ast_logger_remove_channel(), handle_logger_remove_channel(), and make_logchannel().
int facility |
syslog facility
Definition at line 146 of file logger.c.
Referenced by logger_print_normal(), and make_logchannel().
char filename[PATH_MAX] |
Filename
Definition at line 154 of file logger.c.
Referenced by ast_logger_get_channels(), ast_logger_rotate_channel(), find_logchannel(), handle_logger_remove_channel(), handle_logger_show_channels(), logger_print_normal(), make_components(), make_logchannel(), and reload_logger().
FILE* fileptr |
logfile logging file pointer
Definition at line 152 of file logger.c.
Referenced by ast_logger_remove_channel(), ast_logger_rotate_channel(), close_logger(), logger_print_normal(), make_logchannel(), and reload_logger().
struct logformatter formatter |
How the logs sent to this channel will be formatted
Definition at line 140 of file logger.c.
Referenced by handle_logger_show_channels(), logger_print_normal(), and make_components().
int lineno |
Line number from configuration file
Definition at line 158 of file logger.c.
Referenced by make_logchannel().
struct { ... } list |
field for linking to list
Referenced by ast_logger_create_channel(), ast_logger_remove_channel(), ast_logger_rotate_channel(), close_logger(), find_logchannel(), handle_logger_remove_channel(), handle_logger_show_channels(), logger_print_normal(), reload_logger(), and update_logchannels().
unsigned int logmask |
What to log to this channel
Definition at line 142 of file logger.c.
Referenced by ast_logger_create_channel(), ast_logger_get_channels(), handle_logger_show_channels(), init_logger_chain(), logger_print_normal(), make_components(), and update_logchannels().
struct logchannel* next |
enum logtypes type |
Type of log channel
Definition at line 150 of file logger.c.
Referenced by ast_logger_get_channels(), format_log_default(), format_log_plain(), handle_logger_show_channels(), Property::load(), logger_print_normal(), make_components(), and make_logchannel().
int verbosity |
Verbosity level. (-1 if use option_verbose for the level.)
Definition at line 148 of file logger.c.
Referenced by ast_verb_update(), logger_print_normal(), and make_components().