std.logger

Robert Schadek realburner at gmx.de
Fri Aug 23 01:08:30 PDT 2013


On 08/23/2013 07:15 AM, Artem Tarasov wrote:
> > http://burner.github.io/phobos/phobos-prerelease/std_logger.html
>
> 6 params to logMessage and writeMsgToLog is way too many.
> First four of them should be merged into a single struct representing
> the location.
I would argue that merging them into a struct would require you to make
one more indirection
while reading the docs, just to find the same names.

Clearer names for the parameter is a better idea IMO.


More information about the Digitalmars-d mailing list