Anope IRC Services  Version 2.0
Public Member Functions | Data Fields
LogInfo Class Reference

#include <logger.h>

Collaboration diagram for LogInfo:
Collaboration graph
[legend]

Public Member Functions

 LogInfo (int logage, bool rawio, bool debug)
 
 ~LogInfo ()
 
void OpenLogFiles ()
 
bool HasType (LogType ltype, const Anope::string &type) const
 
void ProcessMessage (const Log *l)
 

Data Fields

BotInfobot
 
std::vector< Anope::stringtargets
 
std::vector< LogFile * > logfiles
 
int last_day
 
std::vector< Anope::stringsources
 
int log_age
 
std::vector< Anope::stringadmin
 
std::vector< Anope::stringoverride
 
std::vector< Anope::stringcommands
 
std::vector< Anope::stringservers
 
std::vector< Anope::stringusers
 
std::vector< Anope::stringchannels
 
std::vector< Anope::stringnormal
 
bool raw_io
 
bool debug
 

Detailed Description

Definition at line 114 of file logger.h.

Constructor & Destructor Documentation

LogInfo::LogInfo ( int  logage,
bool  rawio,
bool  debug 
)

Definition at line 224 of file logger.cpp.

LogInfo::~LogInfo ( )

Definition at line 228 of file logger.cpp.

References logfiles.

Member Function Documentation

bool LogInfo::HasType ( LogType  ltype,
const Anope::string type 
) const
void LogInfo::OpenLogFiles ( )
void LogInfo::ProcessMessage ( const Log l)

Field Documentation

std::vector<Anope::string> LogInfo::admin

Definition at line 123 of file logger.h.

Referenced by HasType().

BotInfo* LogInfo::bot

Definition at line 117 of file logger.h.

Referenced by ProcessMessage().

std::vector<Anope::string> LogInfo::channels

Definition at line 128 of file logger.h.

Referenced by HasType().

std::vector<Anope::string> LogInfo::commands

Definition at line 125 of file logger.h.

Referenced by HasType().

bool LogInfo::debug

Definition at line 131 of file logger.h.

Referenced by HasType().

int LogInfo::last_day

Definition at line 120 of file logger.h.

Referenced by ProcessMessage().

int LogInfo::log_age

Definition at line 122 of file logger.h.

Referenced by ProcessMessage().

std::vector<LogFile *> LogInfo::logfiles

Definition at line 119 of file logger.h.

Referenced by OpenLogFiles(), ProcessMessage(), setuidgid(), and ~LogInfo().

std::vector<Anope::string> LogInfo::normal

Definition at line 129 of file logger.h.

Referenced by HasType().

std::vector<Anope::string> LogInfo::override

Definition at line 124 of file logger.h.

bool LogInfo::raw_io

Definition at line 130 of file logger.h.

Referenced by HasType().

std::vector<Anope::string> LogInfo::servers

Definition at line 126 of file logger.h.

Referenced by HasType().

std::vector<Anope::string> LogInfo::sources

Definition at line 121 of file logger.h.

Referenced by ProcessMessage().

std::vector<Anope::string> LogInfo::targets

Definition at line 118 of file logger.h.

Referenced by OpenLogFiles(), and ProcessMessage().

std::vector<Anope::string> LogInfo::users

Definition at line 127 of file logger.h.

Referenced by HasType().


The documentation for this class was generated from the following files: