-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Log: login ui changed Change-Id: I29b60f367aaa68f66f9fc4f4c4ed6c70546e4c36
- Loading branch information
1 parent
8fa8032
commit 37b4171
Showing
8 changed files
with
80 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// SPDX-FileCopyrightText: 2022 - 2023 UnionTech Software Technology Co., Ltd. | ||
// | ||
// SPDX-License-Identifier: GPL-3.0-or-later | ||
#ifndef UNILOG_H | ||
#define UNILOG_H | ||
|
||
#include <QDebug> | ||
|
||
#ifdef QT_DEBUG | ||
#define UNI_DEBUG | ||
#endif | ||
#ifdef UNI_DEBUG | ||
#define uniDebug(...) qDebug(__VA_ARGS__) | ||
#define uniInfo(...) qInfo(__VA_ARGS__) | ||
#define uniWarning(...) qWarning(__VA_ARGS__) | ||
#define uniCritical(...) qCritical(__VA_ARGS__) | ||
#else | ||
#define NO_DEBUG(LOG) QMessageLogger().noDebug(LOG) | ||
#define uniDebug(...) NO_DEBUG(__VA_ARGS__) | ||
#define uniInfo(...) NO_DEBUG(__VA_ARGS__) | ||
#define uniWarning(...) NO_DEBUG(__VA_ARGS__) | ||
#define uniCritical(...) NO_DEBUG(__VA_ARGS__) | ||
#endif | ||
|
||
#endif // UNILOG_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters