|
Asterisk - The Open Source Telephony Project GIT-master-27fb039
|

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 159 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 141 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 157 of file logger.c.
Referenced by ast_logger_remove_channel(), handle_logger_remove_channel(), and make_logchannel().
| int facility |
syslog facility
Definition at line 143 of file logger.c.
Referenced by logger_print_normal(), and make_logchannel().
| char filename[PATH_MAX] |
Filename
Definition at line 151 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 149 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 137 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 155 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 139 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 147 of file logger.c.
Referenced by ast_logger_get_channels(), format_log_default(), format_log_plain(), handle_logger_show_channels(), logger_print_normal(), make_components(), and make_logchannel().
| int verbosity |
Verbosity level. (-1 if use option_verbose for the level.)
Definition at line 145 of file logger.c.
Referenced by ast_verb_update(), logger_print_normal(), and make_components().