XLog.LogConfig.LogConfig C# (CSharp) Method

LogConfig() public method

public LogConfig ( IFormatter formatter, LogCategoryRegistrar categoryRegistry = null ) : System.Collections.Generic
formatter IFormatter
categoryRegistry XLog.Categories.LogCategoryRegistrar
return 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];
        }