13 lines
379 B
Dart
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);
|
|
}
|
|
}
|