/// <summary> /// Shows the specified logger type. /// </summary> /// <param name="loggerType">Type of the logger.</param> public void Show(LoggerType loggerType) { if (activeLogger != null) { activeLogger.EntryAdded -= activeLogger_EntryAdded; } activeLogger = AppCore.GetLogger(loggerType); activeLogger.EntryAdded += activeLogger_EntryAdded; SetData(); }