What is best way to get see function from separate file
Suliman via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sun Apr 10 11:57:45 PDT 2016
>You could pass an argument of type FileLogger (probably better a
>pointer?)
>foo ( FileLogger log )
>{ }
I like it. Am i right understand that it prevent creation
unneeded of new instance of logger?
And what problems I can get if I will create new instance of
logger in every stand alone function? Just resource overusage?
More information about the Digitalmars-d-learn
mailing list