CTK  0.1.0
The Common Toolkit is a community effort to provide support code for medical image analysis, surgical navigation, and related projects.
Public Types | Public Member Functions | Protected Attributes | List of all members
ctkLogger Class Reference

#include <Libs/Core/ctkLogger.h>

Inheritance diagram for ctkLogger:
Inheritance graph
[legend]
Collaboration diagram for ctkLogger:
Collaboration graph
[legend]

Public Types

typedef QObject Superclass
 

Public Member Functions

 ctkLogger (QString name, QObject *parent=0)
 Default mode is Off. More...
 
void debug (const QString &s)
 
void error (const QString &s)
 
void fatal (const QString &s)
 
void info (const QString &s)
 
void trace (const QString &s)
 
void warn (const QString &s)
 
virtual ~ctkLogger ()
 

Protected Attributes

QScopedPointer< ctkLoggerPrivate > d_ptr
 

Detailed Description

Deprecated:
This class was a wrapper around Log4Qt. Since Log4Qt dependency has been removed, it is advised to use qDebug(), qWarning() and qCritical() instead.

Definition at line 36 of file ctkLogger.h.

Member Typedef Documentation

typedef QObject ctkLogger::Superclass

Definition at line 40 of file ctkLogger.h.

Constructor & Destructor Documentation

ctkLogger::ctkLogger ( QString  name,
QObject *  parent = 0 
)
explicit

Default mode is Off.

virtual ctkLogger::~ctkLogger ( )
virtual

Member Function Documentation

void ctkLogger::debug ( const QString &  s)
void ctkLogger::error ( const QString &  s)
void ctkLogger::fatal ( const QString &  s)
void ctkLogger::info ( const QString &  s)
void ctkLogger::trace ( const QString &  s)
void ctkLogger::warn ( const QString &  s)

Member Data Documentation

QScopedPointer<ctkLoggerPrivate> ctkLogger::d_ptr
protected

Definition at line 53 of file ctkLogger.h.


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