mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-17 15:24:35 +01:00
opt.: debug page (#259)
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:logging/logging.dart';
|
||||
import 'package:toolbox/core/extension/datetime.dart';
|
||||
import 'package:toolbox/data/res/ui.dart';
|
||||
|
||||
import '../../data/res/misc.dart';
|
||||
@@ -17,7 +18,7 @@ class DebugProvider extends ChangeNotifier {
|
||||
widgets.add(Text.rich(TextSpan(
|
||||
children: [
|
||||
TextSpan(
|
||||
text: '[${record.loggerName}]',
|
||||
text: '[${DateTime.now().hourMinute}][${record.loggerName}]',
|
||||
style: const TextStyle(color: Colors.cyan),
|
||||
),
|
||||
TextSpan(
|
||||
|
||||
Reference in New Issue
Block a user