fix: remove fatal log level (useless anyway)

This commit is contained in:
2026-01-15 04:08:21 +01:00
parent 377dea331c
commit bf1dd10129
2 changed files with 2 additions and 8 deletions
+1 -5
View File
@@ -1,7 +1,7 @@
/* /*
* @Author: Uyanide pywang0608@foxmail.com * @Author: Uyanide pywang0608@foxmail.com
* @Date: 2025-08-07 01:12:37 * @Date: 2025-08-07 01:12:37
* @LastEditTime: 2026-01-15 02:34:40 * @LastEditTime: 2026-01-15 04:07:40
* @Description: Implementation of logger. * @Description: Implementation of logger.
*/ */
#include "logger.h" #include "logger.h"
@@ -126,7 +126,3 @@ void GeneralLogger::warn(const QString& msg) {
void GeneralLogger::critical(const QString& msg) { void GeneralLogger::critical(const QString& msg) {
qCCritical(logMain).noquote() << msg; qCCritical(logMain).noquote() << msg;
} }
void GeneralLogger::fatal(const QString& msg) {
qCFatal(logMain).noquote() << msg;
}
+1 -3
View File
@@ -1,7 +1,7 @@
/* /*
* @Author: Uyanide pywang0608@foxmail.com * @Author: Uyanide pywang0608@foxmail.com
* @Date: 2025-08-05 10:43:31 * @Date: 2025-08-05 10:43:31
* @LastEditTime: 2026-01-15 00:57:58 * @LastEditTime: 2026-01-15 04:07:46
* @Description: A simple thread-safe logger. * @Description: A simple thread-safe logger.
*/ */
#ifndef GENERAL_LOGGER_H #ifndef GENERAL_LOGGER_H
@@ -23,8 +23,6 @@ void warn(const QString& msg);
void critical(const QString& msg); void critical(const QString& msg);
void fatal(const QString& msg);
} // namespace GeneralLogger } // namespace GeneralLogger
class Logger { class Logger {