On Tuesday, 29 July 2014 at 23:09:28 UTC, Robert burner Schadek
wrote:
On Tuesday, 29 July 2014 at 06:09:25 UTC, Andrei Alexandrescu
wrote:
4. Replace defaultLogger with theLog. "Logger" is a word, but
one that means "lumberjack" so it doesn't have the appropriate
semantics. The use is generally acceptable as a nice play on
words and as a disambiguator between the verb "to log" and the
noun "log". When we actually want to talk about the current
log in an application, we should, however, call it "the log".
This is negotiable.
I really don't care how a global Logger instance is called.
Anyone else has an opinion on this? Otherwise Andrei wins.
I don't see anything wrong with "logger". A "driver" is something
that drives (a device), a "logger" is something that logs. Just
"log" would be ok, too. Both are in common use, and are terms
that I would use intuitively.
"defaultLogger" or "currentLogger" might also be ok, but don't
read as nicely. But please not "theLogger".