On Thursday, 17 November 2016 at 17:54:23 UTC, Suliman wrote:
Ok, but when the logger class may be more helpful that function usage?

You'd use the logger class when you need to make customizations or have multiple logging schemes.

I'd expect Vibe.d allows you to override the global logging object. You could then inherit from the Logger class, customize the behavior and assign it to the global logger which is used by all the libraries which just call the log() function.

Reply via email to