How to make a logger (possible bug)

Rishub Nagpal via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue May 17 11:59:31 PDT 2016


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?


More information about the Digitalmars-d-learn mailing list