public void WarnFormat(string format, params object[] args) { defaultLoggerFactory.Write(name, LogLevel.Warn, string.Format(format, args)); }