digitalmars.D.learn - How to make a logger (possible bug)
- Rishub Nagpal (10/10) May 17 2016 https://dlang.org/phobos/std_experimental_logger_filelogger.html
- Seb (3/13) May 17 2016 Yes logger name seems to be removed. Please make an improvement
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?
May 17 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! :)
May 17 2016