diff --git a/source/dub/internal/vibecompat/core/log.d b/source/dub/internal/vibecompat/core/log.d index 13adf75..6701564 100644 --- a/source/dub/internal/vibecompat/core/log.d +++ b/source/dub/internal/vibecompat/core/log.d @@ -67,8 +67,13 @@ fiberid ^= fiberid >> 32; if( level >= s_minLevel ){ - writeln(txt.data()); - stdout.flush(); + if (level == LogLevel.Info) { + stdout.writeln(txt.data()); + stdout.flush(); + } else { + stderr.writeln(txt.data()); + stderr.flush(); + } } } catch( Exception e ){ // this is bad but what can we do..