fix style issues
This commit is contained in:
parent
0280e36d5c
commit
99d64f7566
|
|
@ -618,12 +618,12 @@ version (unittest)
|
||||||
// mute dsymbol warnings in tests
|
// mute dsymbol warnings in tests
|
||||||
static if (__VERSION__ >= 2_101_0)
|
static if (__VERSION__ >= 2_101_0)
|
||||||
{
|
{
|
||||||
import std.logger;
|
import std.logger : sharedLog, LogLevel;
|
||||||
sharedLog.globalLogLevel = LogLevel.error;
|
sharedLog.globalLogLevel = LogLevel.error;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
import std.experimental.logger;
|
import std.experimental.logger : globalLogLevel, LogLevel;
|
||||||
globalLogLevel = LogLevel.error;
|
globalLogLevel = LogLevel.error;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -119,9 +119,9 @@ else
|
||||||
|
|
||||||
{
|
{
|
||||||
static if (__VERSION__ >= 2_101_0)
|
static if (__VERSION__ >= 2_101_0)
|
||||||
import std.logger;
|
import std.logger : sharedLog, LogLevel;
|
||||||
else
|
else
|
||||||
import std.experimental.logger;
|
import std.experimental.logger : globalLogLevel, LogLevel;
|
||||||
// we don't use std.logger, but dsymbol does, so we surpress all
|
// we don't use std.logger, but dsymbol does, so we surpress all
|
||||||
// messages that aren't errors from it by default
|
// messages that aren't errors from it by default
|
||||||
// users can use verbose to enable all logs (this will log things like
|
// users can use verbose to enable all logs (this will log things like
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue