LoggingUtilsAttachListener Method |
Attaches an additional TraceListener to a logger.
Namespace:
PDTec.IceNet.Sdk.Utils
Assembly:
PDTec.IceNet.Sdk (in PDTec.IceNet.Sdk.dll) Version: 7.2.0.0 (7.2.7583.15464)
Syntax public static void AttachListener(
ILogger pLogger,
TraceListener pListener
)
Parameters
- pLogger
- Type: PDTec.IceNet.Core.RuntimeILogger
The ILogger. - pListener
- Type: System.DiagnosticsTraceListener
The TraceListener.
Exceptions Exception | Condition |
---|
InvalidCastException | if logging is not configured to use the systems.diagnostics framework. |
Remarks This method is supported only if logging is configured to use the systems.diagnostics framework.
See Also