On 2013-08-22 18:01, develop32 wrote:
Why logging functions accept only a string? I would expect it to behave
as std.stdio with its variadic parameters.
It would be more straightforward to write logging code:
log("Moving ", data, " to ", destination);
Where 'data' and 'destination' are any variables. I use such setup in my
projects and it helps greatly to identify what went wrong when not using
a debugger.
Good point, and formatted output as well:
logf("Moving % to %", data, destination);
--
/Jacob Carlborg