Implements WindowsStdoutLogger (#8189)

Replaces unprintable characters with alternative symbols.
This commit is contained in:
Michael Goderbauer
2017-02-15 13:20:17 -08:00
committed by GitHub
parent fac9efbacd
commit 071efec271
3 changed files with 28 additions and 3 deletions

View File

@@ -105,7 +105,7 @@ Future<Null> main(List<String> args) async {
context.putIfAbsent(Platform, () => new LocalPlatform());
context.putIfAbsent(FileSystem, () => new LocalFileSystem());
context.putIfAbsent(ProcessManager, () => new LocalProcessManager());
context.putIfAbsent(Logger, () => new StdoutLogger());
context.putIfAbsent(Logger, () => platform.isWindows ? new WindowsStdoutLogger() : new StdoutLogger());
// Order-independent context entries
context.putIfAbsent(DeviceManager, () => new DeviceManager());