logchannel Struct Reference

Collaboration diagram for logchannel:

Collaboration graph
[legend]

Data Fields

char components [0]
int disabled
int dynamic
int facility
char filename [PATH_MAX]
FILE * fileptr
int lineno
struct {
   struct logchannel *   next
list
unsigned int logmask
enum logtypes type
int verbosity

Detailed Description

Definition at line 113 of file logger.c.


Field Documentation

char components[0]

Components (levels) from last config load

Definition at line 135 of file logger.c.

Referenced by make_components(), and make_logchannel().

int disabled

If this channel is disabled or not

Definition at line 117 of file logger.c.

Referenced by handle_logger_show_channels(), logger_print_normal(), and reload_logger().

int dynamic

Whether this log channel was created dynamically

Definition at line 133 of file logger.c.

Referenced by handle_logger_remove_channel(), and make_logchannel().

int facility

syslog facility

Definition at line 119 of file logger.c.

Referenced by make_logchannel().

char filename[PATH_MAX]

FILE* fileptr

logfile logging file pointer

Definition at line 125 of file logger.c.

Referenced by close_logger(), handle_logger_remove_channel(), logger_print_normal(), make_logchannel(), and reload_logger().

int lineno

Line number from configuration file

Definition at line 131 of file logger.c.

Referenced by make_logchannel().

struct { ... } list

unsigned int logmask

struct logchannel* next [read]

Definition at line 129 of file logger.c.

Referenced by logger_thread().

enum logtypes type

int verbosity

Verbosity level. (-1 if use option_verbose for the level.)

Definition at line 121 of file logger.c.

Referenced by ast_verb_update(), logger_print_normal(), and make_components().


The documentation for this struct was generated from the following file:

Generated on Thu Apr 16 06:36:46 2015 for Asterisk - The Open Source Telephony Project by  doxygen 1.5.6