Torc  0.1
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
LoggerBase Class Referenceabstract

#include <torcloggingimp.h>

Inheritance diagram for LoggerBase:
[legend]

Public Member Functions

 LoggerBase (const QString &FileName)
 
virtual ~LoggerBase ()=default
 
virtual bool Logmsg (LogItem *Item)=0
 

Protected Member Functions

virtual bool PrintLine (QByteArray &Line)=0
 
QByteArray GetLine (LogItem *Item)
 

Protected Attributes

QString m_fileName
 

Detailed Description

Definition at line 40 of file torcloggingimp.h.

Constructor & Destructor Documentation

LoggerBase::LoggerBase ( const QString &  FileName)
explicit

Definition at line 319 of file torcloggingimp.cpp.

virtual LoggerBase::~LoggerBase ( )
virtualdefault

Member Function Documentation

QByteArray LoggerBase::GetLine ( LogItem Item)
protected

Definition at line 325 of file torcloggingimp.cpp.

virtual bool LoggerBase::Logmsg ( LogItem Item)
pure virtual

Implemented in WebLogger, and FileLogger.

virtual bool LoggerBase::PrintLine ( QByteArray &  Line)
protectedpure virtual

Implemented in FileLogger.

Member Data Documentation

QString LoggerBase::m_fileName
protected

Definition at line 53 of file torcloggingimp.h.


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