How to make a logger (possible bug)

Seb via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue May 17 15:39:38 PDT 2016


On Tuesday, 17 May 2016 at 18:59:31 UTC, Rishub Nagpal wrote:
> https://dlang.org/phobos/std_experimental_logger_filelogger.html
>
> import std.experimental.logger;
>
> void main()
> {
> 	auto l1 = new FileLogger("logFile", "loggerName");
> }
>
> throws an error:
>
> Error: none of the overloads of '__ctor' are callable using 
> argument types (string, string), candidates are:
>
> Is this an error in the documentation?

Yes logger name seems to be removed. Please make an improvement 
request to fix it! :)


More information about the Digitalmars-d-learn mailing list