Mon Jun 27 16:51:24 2011

Asterisk developer's documentation


logchannel Struct Reference


Data Fields

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

Detailed Description

Definition at line 103 of file logger.c.


Field Documentation

char components[0]

Components (levels) from last config load

Definition at line 121 of file logger.c.

Referenced by update_logchannels().

int disabled

If this channel is disabled or not

Definition at line 107 of file logger.c.

Referenced by handle_logger_show_channels(), and logger_print_normal().

int facility

syslog facility

Definition at line 109 of file logger.c.

Referenced by make_logchannel().

char filename[PATH_MAX]

Filename

Definition at line 115 of file logger.c.

Referenced by handle_logger_show_channels(), and logger_print_normal().

FILE* fileptr

logfile logging file pointer

Definition at line 113 of file logger.c.

Referenced by logger_print_normal().

int lineno

Line number from configuration file

Definition at line 119 of file logger.c.

Referenced by update_logchannels().

struct { ... } list

field for linking to list

Referenced by ast_log(), close_logger(), handle_logger_show_channels(), init_logger_chain(), logger_print_normal(), logger_thread(), reload_logger(), and update_logchannels().

unsigned int logmask

What to log to this channel

Definition at line 105 of file logger.c.

Referenced by handle_logger_show_channels(), init_logger_chain(), logger_print_normal(), and update_logchannels().

struct logchannel* next

Definition at line 117 of file logger.c.

Referenced by logger_thread().

enum logtypes type

Type of log channel

Definition at line 111 of file logger.c.

Referenced by handle_logger_show_channels(), and logger_print_normal().


The documentation for this struct was generated from the following file:
Generated on Mon Jun 27 16:51:24 2011 for Asterisk - The Open Source Telephony Project by  doxygen 1.4.7