August 23, 2013 Re: std.logger | ||||
---|---|---|---|---|
| ||||
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.
|
Copyright © 1999-2021 by the D Language Foundation