On Monday, 14 October 2013 at 21:22:51 UTC, Robert Schadek wrote:
module myModule; Logger myModuleLogger; static this() { myModuleLogger = new StdIOLogger(); }
I'd like to have module-specific logging _without_ creating local module instance. And without referring to specific logger at all. As I have mentioned, something like:
``` import log = std.logger;log.local.info(...); // uses special default logger that inspects __MODULE__
log.global.error(...); // uses normal default logger ```