/// <inheritdoc /> /// <summary> /// Initializes a new instance of the <see cref="LoggerEventArgs"/> class for an exception/error type of log. /// </summary> /// <param name="exception">The exception.</param> /// <param name="messenger">Event argument that relays a message.</param> /// <param name="arg">Parameter name-value pairs associated with the calling method or operation within the method.</param> public LoggerEventArgs( Exception exception, MessengerEventArgs messenger, params object[] arg) : base(messenger) { storeParameters(arg); Exception = exception; }
/// <inheritdoc /> /// <summary> /// Initializes a new instance of the <see cref="T:MPT.Reporting.Core.LoggerEventArgs" /> class for an exception/error type of log.. /// </summary> /// <param name="exception">The exception.</param> /// <param name="messenger">Event argument that relays a message.</param> public LoggerEventArgs(Exception exception, MessengerEventArgs messenger = null) : base(messenger) { Exception = exception; }
/// <inheritdoc /> /// <summary> /// Initializer for a message-type of log. /// </summary> /// <param name="messenger">Event argument that relays a message.</param> /// <param name="arg">List of variables to insert into the message.</param> public LoggerEventArgs( MessengerEventArgs messenger, params object[] arg) : base(messenger) { storeParameters(arg); }