public static ILogManager Configure(IEnumerable <IAppender> appenders, ZeroLogInitializationConfig initializationConfig) { var config = new ZeroLogBasicConfiguration { Appenders = appenders.ToList() }; if (initializationConfig != null) { config.ApplyInitializationConfig(initializationConfig); } return(Configure(config)); }
internal void ApplyInitializationConfig(ZeroLogInitializationConfig config) { LogEventQueueSize = config.LogEventQueueSize; LogEventBufferSize = config.LogEventBufferSize; LogEventArgumentCapacity = config.LogEventArgumentCapacity; }