trikRuntime
QsLogging Namespace Reference

Classes

class  DebugOutputDestination
 
class  Destination
 
class  DestinationFactory
 Creates logging destinations/sinks. More...
 
class  FileDestination
 
class  FunctorDestination
 
class  Logger
 
class  LoggerImpl
 
class  LogWriterRunnable
 
struct  MaxOldLogCount
 
struct  MaxSizeBytes
 
class  NullRotationStrategy
 
class  RotationStrategy
 
class  SizeRotationStrategy
 

Typedefs

typedef QVector< DestinationPtrDestinationList
 
typedef QSharedPointer< DestinationDestinationPtr
 
typedef QSharedPointer< RotationStrategyRotationStrategyPtr
 

Enumerations

enum  LogRotationOption { DisableLogRotation = 0, EnableLogRotation = 1 }
 
enum  Level {
  TraceLevel = 0, DebugLevel, InfoLevel, WarnLevel,
  ErrorLevel, FatalLevel, OffLevel
}
 

Functions

static const QString fmtDateTime ("yyyy-MM-ddThh:mm:ss.zzz")
 
static const char * LevelToText (Level theLevel)
 

Variables

static const char TraceString [] = "TRACE"
 
static const char DebugString [] = "DEBUG"
 
static const char InfoString [] = "INFO "
 
static const char WarnString [] = "WARN "
 
static const char ErrorString [] = "ERROR"
 
static const char FatalString [] = "FATAL"
 
static LoggersInstance = 0
 

Typedef Documentation

typedef QSharedPointer<Destination> QsLogging::DestinationPtr

Enumeration Type Documentation

Enumerator
TraceLevel 
DebugLevel 
InfoLevel 
WarnLevel 
ErrorLevel 
FatalLevel 
OffLevel 
Enumerator
DisableLogRotation 
EnableLogRotation 

Function Documentation

static const QString QsLogging::fmtDateTime ( "yyyy-MM-ddThh:mm:ss.zzz"  )
static
static const char* QsLogging::LevelToText ( Level  theLevel)
static

Variable Documentation

const char QsLogging::DebugString[] = "DEBUG"
static
const char QsLogging::ErrorString[] = "ERROR"
static
const char QsLogging::FatalString[] = "FATAL"
static
const char QsLogging::InfoString[] = "INFO "
static
Logger* QsLogging::sInstance = 0
static
const char QsLogging::TraceString[] = "TRACE"
static
const char QsLogging::WarnString[] = "WARN "
static