/// <summary> /// Initialize a log instance by specified configuration. /// </summary> /// <param name="logConfig">The specified log configuration.</param> public static void Initialize(LogConfig logConfig) { _logInstance?.Close(); _logInstance = LogBase.CreateLogWriter(logConfig); }