Voting: std.logger

Kagamin via Digitalmars-d digitalmars-d at puremagic.com
Thu Jul 31 00:11:06 PDT 2014


On Wednesday, 30 July 2014 at 17:01:39 UTC, Andrei Alexandrescu 
wrote:
> Yah but the log object, i.e. the thing you log things in (the 
> paper log on a ship etc) is "a log", not "a logger". A "logger" 
> would be the person writing into the log.

Logging to a paper log is done directly without a logger. A 
similar approach would be to use just printf - logging can be 
done this way, but the reason for a logger is to let people not 
write to console directly, but use an intermediate component, 
which manages logging.


More information about the Digitalmars-d mailing list