1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
3
4#ifndef LOGGING_H
5#define LOGGING_H
6
7#include <QtCore/qcoreapplication.h>
8
9enum LogLevel {
10 VerboseLog,
11 NormalLog,
12 SilentLog
13};
14
15static QString tr(const char *key) {
16 return QCoreApplication::translate(context: "qtattributionsscanner", key);
17}
18
19#endif // LOGGING_H
20

source code of qttools/src/qtattributionsscanner/logging.h