refactor: logging
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
import 'package:flutter/foundation.dart';
|
||||
import 'package:immich_mobile/utils/log_manager.dart';
|
||||
|
||||
mixin LogMixin {
|
||||
@protected
|
||||
@nonVirtual
|
||||
Logger get log => LogManager.I.get(runtimeType.toString());
|
||||
}
|
||||
@@ -1,8 +0,0 @@
|
||||
import 'package:flutter/foundation.dart';
|
||||
import 'package:logging/logging.dart';
|
||||
|
||||
mixin LogContext {
|
||||
@protected
|
||||
@nonVirtual
|
||||
Logger get log => Logger(runtimeType.toString());
|
||||
}
|
||||
Reference in New Issue
Block a user