mirror of
https://gitlab.com/veilid/veilidchat.git
synced 2025-07-22 06:08:54 -04:00
better handling of subkey sequence numbers
This commit is contained in:
parent
64d0019e6e
commit
0b4de3ad13
9 changed files with 185 additions and 57 deletions
|
@ -9,6 +9,7 @@ import 'package:loggy/loggy.dart';
|
|||
import 'package:veilid_support/veilid_support.dart';
|
||||
|
||||
import '../veilid_processor/views/developer.dart';
|
||||
import 'responsive.dart';
|
||||
import 'state_logger.dart';
|
||||
|
||||
String wrapWithLogColor(LogLevel? level, String text) {
|
||||
|
@ -111,7 +112,9 @@ class CallbackPrinter extends LoggyPrinter {
|
|||
@override
|
||||
void onLog(LogRecord record) {
|
||||
final out = record.pretty();
|
||||
debugPrint(out);
|
||||
if (isDesktop) {
|
||||
debugPrintSynchronously(out);
|
||||
}
|
||||
globalDebugTerminal.write('$out\n'.replaceAll('\n', '\r\n'));
|
||||
callback?.call(record);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue