compact format ccolor
This commit is contained in:
parent
43302ab0ea
commit
a1bcdf5b0b
|
@ -99,10 +99,10 @@ version(Windows) {
|
||||||
];
|
];
|
||||||
|
|
||||||
void writestdout(string time, string message, int level) {
|
void writestdout(string time, string message, int level) {
|
||||||
writeln("%s %s".format(time,
|
writeln(
|
||||||
this._ccolor ?
|
"%s %s".format(
|
||||||
this._color[level].format(this._type[level], message) :
|
time,
|
||||||
"%s %s".format(this._type[level], message)
|
(this._ccolor ? this._color[level] : "%s %s").format(this._type[level], message)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue