XLog.LogConfig.LogConfig C# (CSharp) 메소드

LogConfig() 공개 메소드

public LogConfig ( IFormatter formatter, LogCategoryRegistrar categoryRegistry = null ) : System.Collections.Generic
formatter IFormatter
categoryRegistry XLog.Categories.LogCategoryRegistrar
리턴 System.Collections.Generic
        public LogConfig(IFormatter formatter, LogCategoryRegistrar categoryRegistry = null)
        {
            Formatter = formatter;
            CategoryRegistrar = categoryRegistry ?? new LogCategoryRegistrar();
            TargetConfigs = new List<TargetConfig>();
            Levels = new bool[LogLevels.Levels.Length];
        }