public void Critical(Exception ex) { ILogger logger = ServiceRegistration.Get <ILogger>(false); if (logger != null) { logger.Critical(ex); } }
public void Critical(string format, Exception ex, params object[] args) { ILogger logger = ServiceRegistration.Get <ILogger>(false); if (logger != null) { logger.Critical(format, ex, args); } }