TTKMusicPlayer  4.1.3.0
TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux
Classes | Macros | Typedefs
ttklogoutput.cpp File Reference
#include "ttklogoutput.h"
#include "ttksingleton.h"
#include <QDir>
#include <QApplication>

Go to the source code of this file.

Classes

class  QMessageLogContext
 
class  TTKLogOutput
 

Macros

#define LOG_MAXSIZE   5 * 1024 * 1024
 
#define qInstallMessageHandler   qInstallMsgHandler
 
#define LOG_DIR_PATH   QApplication::applicationDirPath() + "/log/"
 

Typedefs

using QtMessageHandler = QtMsgHandler
 

Macro Definition Documentation

#define LOG_DIR_PATH   QApplication::applicationDirPath() + "/log/"

Definition at line 68 of file ttklogoutput.cpp.

Referenced by TTKLogOutput::install(), and TTKLogOutput::open().

#define LOG_MAXSIZE   5 * 1024 * 1024

Definition at line 7 of file ttklogoutput.cpp.

Referenced by TTKLogOutput::open(), and TTKLogOutput::write().

#define qInstallMessageHandler   qInstallMsgHandler

Definition at line 12 of file ttklogoutput.cpp.

Referenced by TTKLogOutput::install(), and TTKLogOutput::uninstall().

Typedef Documentation

using QtMessageHandler = QtMsgHandler

Definition at line 11 of file ttklogoutput.cpp.