API Reference
Class
InternalLoggerPowerShell
This class allow connecting to the InternalLogger class of ADPlayground and act on events from it in different streams
Inheritance
- Object
- InternalLoggerPowerShell
Constructors
public InternalLoggerPowerShell(InternalLogger logger, Action<String> writeVerboseAction = null, Action<String> writeWarningAction = null, Action<String> writeDebugAction = null, Action<ErrorRecord> writeErrorAction = null, Action<ProgressRecord> writeProgressAction = null, Action<InformationRecord> writeInformationAction = null) #Initialize the InternalLoggerPowerShell class
Parameters
- logger DomainDetective.InternalLogger
- writeVerboseAction System.Action{System.String} = null
- writeWarningAction System.Action{System.String} = null
- writeDebugAction System.Action{System.String} = null
- writeErrorAction System.Action{System.Management.Automation.ErrorRecord} = null
- writeProgressAction System.Action{System.Management.Automation.ProgressRecord} = null
- writeInformationAction System.Action{System.Management.Automation.InformationRecord} = null
Methods
Logger_OnVerboseMessage(System.Object sender, DomainDetective.LogEventArgs e) #Message event handler
Parameters
- sender System.Object
- e DomainDetective.LogEventArgs
WriteVerbose(System.String message, System.Object[] eArgs) #Method to write verbose message to PowerShell
Parameters
- message System.String
- eArgs System.Object[]
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object