/// <summary> /// The only Constructor—requires xlogHandler event. /// </summary> /// <param name="outputMode">See <see cref="XLog.OutputMode" />.</param> /// <param name="xlogHandler">See <see cref="EventHandler{XLogEventArgs}" />.</param> public XLogController(XLog.OutputMode outputMode, EventHandler <XLogEventArgs> xlogHandler) { if (xlogHandler != null) { XLog.XLogEvent += xlogHandler; } }
/// <summary> /// Sets the type of logging. By default, logging is sent to /// <see cref="System.Diagnostics.Debug.Print(string,object[])" />. /// </summary> /// <param name="outputType"></param> static public void SetLogType(XLog.OutputMode outputType) { XLogController.OutputMode = outputType; }