Tue Aug 20 16:35:20 2013

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 {
   struct logchannel *   next
list
unsigned int logmask
enum logtypes type

Detailed Description

Definition at line 108 of file logger.c.


Field Documentation

char components[0]

Components (levels) from last config load

Definition at line 126 of file logger.c.

Referenced by make_logchannel(), and update_logchannels().

int disabled

If this channel is disabled or not

Definition at line 112 of file logger.c.

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

int facility

syslog facility

Definition at line 114 of file logger.c.

Referenced by make_logchannel().

char filename[PATH_MAX]

Filename

Definition at line 120 of file logger.c.

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

FILE* fileptr

logfile logging file pointer

Definition at line 118 of file logger.c.

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

int lineno

Line number from configuration file

Definition at line 124 of file logger.c.

Referenced by make_logchannel(), and update_logchannels().

struct { ... } list
unsigned int logmask

What to log to this channel

Definition at line 110 of file logger.c.

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

struct logchannel* next [read]

Definition at line 122 of file logger.c.

Referenced by logger_thread().

enum logtypes type

Type of log channel

Definition at line 116 of file logger.c.

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


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

Generated on 20 Aug 2013 for Asterisk - The Open Source Telephony Project by  doxygen 1.6.1