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