API Reference
Class
LogEventArgs
Provides event information used by logging callbacks.
Inheritance
- EventArgs
- LogEventArgs
Constructors
LogEventArgs 3 overloads
public LogEventArgs(String message, Object[] args) #Initializes a new instance of the LogEventArgs class with a formatted message.
Parameters
- message System.String
- Format string.
- args System.Object[]
- Arguments used for formatting.
public LogEventArgs(String message) #Initializes a new instance of the LogEventArgs class with a raw message.
Parameters
- message System.String
- Message text.
public LogEventArgs(String activity, String currentOperation, Nullable<Int32> currentSteps, Nullable<Int32> totalSteps, Nullable<Int32> percentage) #Initializes a new instance of the LogEventArgs class for progress reporting.
Parameters
- activity System.String
- Activity name.
- currentOperation System.String
- Current operation name.
- currentSteps System.Nullable{System.Int32}
- Current step count.
- totalSteps System.Nullable{System.Int32}
- Total step count.
- percentage System.Nullable{System.Int32}
- Completion percentage.
Inherited Methods
Properties
public Nullable<Int32> ProgressPercentage { get; set; } #Progress percentage
public Nullable<Int32> ProgressTotalSteps { get; set; } #Progress total steps
public Nullable<Int32> ProgressCurrentSteps { get; set; } #Progress current steps
public String ProgressCurrentOperation { get; set; } #Progress current operation
public String ProgressActivity { get; set; } #Progress activity
public String FullMessage { get; set; } #Message to be written including arguments substitution
public String Message { get; set; } #Message to be written
public Object[] Args { get; set; } #Arguments used when formatting the message.