Adding is debug enabled flag to ILogger