mirror of
https://github.com/GopeedLab/gopeed.git
synced 2026-11-19 06:43:42 +00:00
feat: new ui (#1455)
This commit is contained in:
742 files changed
+59951
-5934
No files matched your search
@@ -6,7 +6,7 @@ import 'util.dart';
|
||||
|
||||
late final Logger logger;
|
||||
|
||||
initLogger() {
|
||||
void initLogger() {
|
||||
// if is debug mode, don't log to file
|
||||
logger = Logger(
|
||||
filter: ProductionFilter(),
|
||||
@@ -19,7 +19,7 @@ String logsDir() {
|
||||
return path.join(Util.getStorageDir(), 'logs');
|
||||
}
|
||||
|
||||
_buildOutput() {
|
||||
LogOutput? _buildOutput() {
|
||||
// if is debug mode, don't log to file
|
||||
if (!kDebugMode && Util.isDesktop()) {
|
||||
final logDirPath = logsDir();
|
||||
|
||||
Reference in new issue
Block a user