DtkCore
DTK Core module
OutputDebugAppender.h
1// SPDX-FileCopyrightText: 2022 UnionTech Software Technology Co., Ltd.
2//
3// SPDX-License-Identifier: LGPL-3.0-or-later
4
5#ifndef OUTPUTDEBUGAPPENDER_H
6#define OUTPUTDEBUGAPPENDER_H
7
8#include "dtkcore_global.h"
10
11DCORE_BEGIN_NAMESPACE
12
13class LIBDTKCORESHARED_EXPORT OutputDebugAppender : public AbstractStringAppender
14{
15 protected:
16 virtual void append(const QDateTime &time, Logger::LogLevel level, const char *file, int line,
17 const char *func, const QString &category, const QString &msg);
18};
19
20DCORE_END_NAMESPACE
21
22#endif // OUTPUTDEBUGAPPENDER_H
AbstractStringAppender类为处理纯文本格式的Appender提供了一个方便的基础日志
Definition: AbstractStringAppender.h:16
LogLevel
日志等级
Definition: Logger.h:22
Definition: OutputDebugAppender.h:14