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::LogInfo ( int  logage,
bool  rawio,
bool  debug 
)

Definition at line 224 of file logger.cpp.

◆ ~LogInfo()

LogInfo::~LogInfo ( )

Definition at line 228 of file logger.cpp.

References logfiles.

Member Function Documentation

◆ HasType()

bool LogInfo::HasType ( LogType  ltype,
const Anope::string type 
) const

◆ OpenLogFiles()

void LogInfo::OpenLogFiles ( )

◆ ProcessMessage()

void LogInfo::ProcessMessage ( const Log l)

Field Documentation

◆ admin

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

Definition at line 123 of file logger.h.

Referenced by HasType().

◆ bot

BotInfo* LogInfo::bot

Definition at line 117 of file logger.h.

Referenced by ProcessMessage().

◆ channels

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

Definition at line 128 of file logger.h.

Referenced by HasType().

◆ commands

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

Definition at line 125 of file logger.h.

Referenced by HasType().

◆ debug

bool LogInfo::debug

Definition at line 131 of file logger.h.

Referenced by HasType().

◆ last_day

int LogInfo::last_day

Definition at line 120 of file logger.h.

Referenced by ProcessMessage().

◆ log_age

int LogInfo::log_age

Definition at line 122 of file logger.h.

Referenced by ProcessMessage().

◆ logfiles

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

Definition at line 119 of file logger.h.

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

◆ normal

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

Definition at line 129 of file logger.h.

Referenced by HasType().

◆ override

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

Definition at line 124 of file logger.h.

◆ raw_io

bool LogInfo::raw_io

Definition at line 130 of file logger.h.

Referenced by HasType().

◆ servers

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

Definition at line 126 of file logger.h.

Referenced by HasType().

◆ sources

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

Definition at line 121 of file logger.h.

Referenced by ProcessMessage().

◆ targets

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

Definition at line 118 of file logger.h.

Referenced by OpenLogFiles(), and ProcessMessage().

◆ users

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: