Customization of User Defined Logger
Ali Çehreli via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sun Jul 19 12:50:38 PDT 2015
On 07/19/2015 06:02 AM, Suliman wrote:
> When I try co compile next code:
>
> class MyCustomLogger : Logger
> {
> this(string newName, LogLevel lv) @safe
> {
> super(newName, lv);
According to (and despite :p) its documentation Logger's constructor
takes just a LogLevel:
http://dlang.org/phobos/std_experimental_logger_core.html#.Logger.this
> If I am write I think that this example should be extended.
The documentation needs some help. :)
Ali
More information about the Digitalmars-d-learn
mailing list