LogForwarderSink Constructor |
https://www.emgu.com/wiki/index.php/Emgu_TF
Create a log sink, when registered, automatically forward all logs to TfInvoke.LogMsgReceived event handler.
By default it is not registered to received log.
Use TfInboke.AddLogSink to register it.
Namespace:
Emgu.TF
Assembly:
Emgu.TF.Netstandard (in Emgu.TF.Netstandard.dll) Version: 2.8.0.1418
Syntaxpublic LogForwarderSink(
bool autoRegisterLogSink = false
)
Public Sub New (
Optional autoRegisterLogSink As Boolean = false
)
public:
LogForwarderSink(
bool autoRegisterLogSink = false
)
new :
?autoRegisterLogSink : bool
(* Defaults:
let _autoRegisterLogSink = defaultArg autoRegisterLogSink false
*)
-> LogForwarderSink
Parameters
- autoRegisterLogSink (Optional)
- Type: SystemBoolean
If true, it will register the LogSink right after it is created, and will de-register the LogSink right before it is disposed.
See Also