Anope IRC Services  Version 2.0
Public Member Functions | Data Fields
LogFile Struct Reference

#include <logger.h>

Collaboration diagram for LogFile:
Collaboration graph

Public Member Functions

 LogFile (const Anope::string &name)
 ~LogFile ()
const Anope::stringGetName () const

Data Fields

Anope::string filename
std::ofstream stream

Detailed Description

Definition at line 42 of file logger.h.

Constructor & Destructor Documentation

◆ LogFile()

LogFile::LogFile ( const Anope::string name)

Definition at line 64 of file logger.cpp.

◆ ~LogFile()

LogFile::~LogFile ( )

Definition at line 68 of file logger.cpp.

References stream.

Member Function Documentation

◆ GetName()

const Anope::string & LogFile::GetName ( ) const

Definition at line 73 of file logger.cpp.

References filename.

Referenced by LogInfo::OpenLogFiles().

Field Documentation

◆ filename

Anope::string LogFile::filename

Definition at line 44 of file logger.h.

Referenced by GetName(), and setuidgid().

◆ stream

std::ofstream LogFile::stream

Definition at line 45 of file logger.h.

Referenced by LogInfo::OpenLogFiles(), LogInfo::ProcessMessage(), and ~LogFile().

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