/// <summary> /// Add a mapping of level to color - done by the config file /// </summary> /// <param name="mapping">The mapping to add</param> public void AddMapping(ColoredConsoleAppenderLevelColorMapping mapping) { m_Level2ColorMap[mapping.Level] = ((uint)mapping.ForeColor) + (((uint)mapping.BackColor) << 4); }