added IsEnabled to ILog to check whether logging is enabled for a specified level