#ifndef LOGUTILS_H
#define LOGUTILS_H

#include <QtMessageHandler>
#include <QString>

class LogUtils
{
public:
    static void initLogFile(const QString &fileName);
    static void messageOutput(QtMsgType type, const QMessageLogContext &context, const QString &msg);

    static void reset();
    static QString lastInitFileName();
    static int outputCallCount();
};

#endif
