std.experimental.logger formal review round 3
Martin Nowak via Digitalmars-d
digitalmars-d at puremagic.com
Mon Oct 27 18:42:00 PDT 2014
On 10/28/2014 01:01 AM, Robert burner Schadek wrote:
> is different from the code that has been in the PR for quite some time.
> And the code you show does exactly what you say and the current code
> does something different.
No it behaves the same.
isLoggingActive is a template in phobos
doSome is a function in a lib that performs logging and instantiates
isLoggingActive
main is a function in the app that performs logging and instantiates
isLoggingActive and also calls doSome
Now which of those functions actually logs depends on the compilation
settings of the library, the compilation settings of the app and the
logger that's being used.
More information about the Digitalmars-d
mailing list