Voting: std.logger

H. S. Teoh via Digitalmars-d digitalmars-d at puremagic.com
Tue Jul 29 17:13:47 PDT 2014


On Tue, Jul 29, 2014 at 04:55:04PM -0700, Andrei Alexandrescu via Digitalmars-d wrote:
> On 7/29/14, 4:16 PM, H. S. Teoh via Digitalmars-d wrote:
> >On Tue, Jul 29, 2014 at 11:09:27PM +0000, Robert burner Schadek via Digitalmars-d 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 propose 'stdlog'.
> 
> I thought of the same but then rejected it - stdlog looks like
> offering the same interface as stdout and stderr. Nevertheless it's a
> sensible choice, too. -- Andrei

I don't like 'theLog'. What about 'defaultLog'?


T

-- 
Never trust an operating system you don't have source for! -- Martin Schulze


More information about the Digitalmars-d mailing list