diff --git a/source/app.d b/source/app.d index 7ecb83a..4a15f70 100644 --- a/source/app.d +++ b/source/app.d @@ -77,7 +77,6 @@ else if( vquiet ) loglevel = LogLevel.None; else if( quiet ) loglevel = LogLevel.Warn; setLogLevel(loglevel); - if( loglevel >= LogLevel.Info ) setPlainLogging(true); // extract the command if( args.length > 1 && !args[1].startsWith("-") ){ diff --git a/source/dub/internal/vibecompat/core/log.d b/source/dub/internal/vibecompat/core/log.d index fc6ad80..13adf75 100644 --- a/source/dub/internal/vibecompat/core/log.d +++ b/source/dub/internal/vibecompat/core/log.d @@ -16,7 +16,6 @@ private { shared LogLevel s_minLevel = LogLevel.Info; shared LogLevel s_logFileLevel; - shared bool s_plainLogging = false; } /// Sets the minimum log level to be printed. @@ -25,12 +24,6 @@ s_minLevel = level; } -/// Disables output of thread/task ids with each log message -void setPlainLogging(bool enable) -{ - s_plainLogging = enable; -} - /** Logs a message. @@ -74,8 +67,7 @@ fiberid ^= fiberid >> 32; if( level >= s_minLevel ){ - if( s_plainLogging ) writeln(txt.data()); - else writefln("[%08X:%08X %s] %s", threadid, fiberid, pref, txt.data()); + writeln(txt.data()); stdout.flush(); } } catch( Exception e ){