mirror of
https://github.com/abraunegg/onedrive
synced 2024-06-26 17:30:25 +02:00
15 lines
175 B
D
15 lines
175 B
D
|
import std.stdio;
|
||
|
|
||
|
// enable verbose logging
|
||
|
bool verbose;
|
||
|
|
||
|
void log(T...)(T args)
|
||
|
{
|
||
|
stderr.writeln(args);
|
||
|
}
|
||
|
|
||
|
void vlog(T...)(T args)
|
||
|
{
|
||
|
if (verbose) stderr.writeln(args);
|
||
|
}
|