/// <summary> /// The constructor for the arguments of an Error event. /// </summary> /// <param name="log">The SimpleLog instance which sent the event.</param> /// <param name="exception">The Exception of the event.</param> public ErrorArgs(SimpleLog log, Exception exception) { Log = log; Exception = exception; }
/// <summary> /// The constructor for the arguments of a Log event. /// </summary> /// <param name="log">The SimpleLog instance which sent the event.</param> /// <param name="level">The Level of the event.</param> /// <param name="message">The message of the event.</param> public LogArgs(SimpleLog log, Level level, object message) { Log = log; Level = level; Message = message; }