MagicSmoke  $VERSION$
debug.cpp File Reference
#include "debug.h"
#include <QCoreApplication>
#include <QDateTime>
#include <QDebug>
#include <QDir>
#include <QFile>

Functions

void initDebug (const QString &dataDir)
 
static void mymsghandler (QtMsgType, const QMessageLogContext &, const QString &msg)
 

Variables

static QFile * mylogFile =0
 

Function Documentation

void initDebug ( const QString &  dataDir)

References mylogFile, and mymsghandler().

Referenced by MApplication::initialize().

static void mymsghandler ( QtMsgType  ,
const QMessageLogContext &  ,
const QString &  msg 
)
static

References mylogFile.

Referenced by initDebug().

Variable Documentation

QFile* mylogFile =0
static

Referenced by initDebug(), and mymsghandler().