mirror of
https://github.com/abraunegg/onedrive
synced 2024-05-30 12:32:41 +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);
|
||
|
}
|