trikRuntime
QsLogging::SizeRotationStrategy Class Reference

#include <QsLogDestFile.h>

Inheritance diagram for QsLogging::SizeRotationStrategy:
Collaboration diagram for QsLogging::SizeRotationStrategy:

Public Member Functions

 SizeRotationStrategy ()
 
virtual void setInitialInfo (const QFile &file)
 
virtual void includeMessageInCalculation (const QString &message)
 
virtual bool shouldRotate ()
 
virtual void rotate ()
 
virtual QIODevice::OpenMode recommendedOpenModeFlag ()
 
void setMaximumSizeInBytes (qint64 size)
 
void setBackupCount (int backups)
 
- Public Member Functions inherited from QsLogging::RotationStrategy
virtual ~RotationStrategy ()
 

Static Public Attributes

static const int MaxBackupCount = 10
 

Constructor & Destructor Documentation

QsLogging::SizeRotationStrategy::SizeRotationStrategy ( )

Member Function Documentation

void QsLogging::SizeRotationStrategy::includeMessageInCalculation ( const QString &  message)
virtual
QIODevice::OpenMode QsLogging::SizeRotationStrategy::recommendedOpenModeFlag ( )
virtual
void QsLogging::SizeRotationStrategy::rotate ( )
virtual
void QsLogging::SizeRotationStrategy::setBackupCount ( int  backups)
void QsLogging::SizeRotationStrategy::setInitialInfo ( const QFile &  file)
virtual
void QsLogging::SizeRotationStrategy::setMaximumSizeInBytes ( qint64  size)
bool QsLogging::SizeRotationStrategy::shouldRotate ( )
virtual

Member Data Documentation

const int QsLogging::SizeRotationStrategy::MaxBackupCount = 10
static

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