dart-app-core/lib/io/log_writer_base.dart
2023-03-19 09:08:43 +09:00

13 lines
379 B
Dart

import 'package:dart_framework/core/isolate_manager.dart';
import 'package:dart_framework/io/log_writer_io.dart'
if (dart.library.html) 'package:dart_framework/io/log_writer_web.dart';
abstract class LogWriterBase extends IsolateBase {
static void start(Function(IsoMessege) listener) {
startLog(listener);
}
static void write(String log) {
print(log);
}
}