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"
9
#include <
AbstractStringAppender.h
>
10
11
DCORE_BEGIN_NAMESPACE
12
13
class
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
20
DCORE_END_NAMESPACE
21
22
#endif
// OUTPUTDEBUGAPPENDER_H
AbstractStringAppender.h
Dtk::Core::AbstractStringAppender
AbstractStringAppender类为处理纯文本格式的Appender提供了一个方便的基础日志
Definition:
AbstractStringAppender.h:16
Dtk::Core::Logger::LogLevel
LogLevel
日志等级
Definition:
Logger.h:22
Dtk::Core::OutputDebugAppender
Definition:
OutputDebugAppender.h:14
include
log
win32
OutputDebugAppender.h
文档生成时间:2022-12-30-05:08 +00
Doxygen Version
1.9.4
制作者:deepin doc doc go SIG
文档使用CC-BY-4.0共享