Logger Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Constructor. Takes the delegates for the various logging operations as input.
public Logger (Action<string> writeWarning, Action<string> writeDebug, Action<string> writeVerbose, Action<System.Management.Automation.ErrorRecord> throwTerminatingError);
new Microsoft.Azure.Commands.RecoveryServices.Logger : Action<string> * Action<string> * Action<string> * Action<System.Management.Automation.ErrorRecord> -> Microsoft.Azure.Commands.RecoveryServices.Logger
Public Sub New (writeWarning As Action(Of String), writeDebug As Action(Of String), writeVerbose As Action(Of String), throwTerminatingError As Action(Of ErrorRecord))
Parameters
- throwTerminatingError
- Action<ErrorRecord>
Delegate to throw terminating errors