I am able to direct FO logging to both a file and console target but am unable to direct Dicom.Network to a FormControl target. I can display regular NLog logs in the FormControl using this declaration:
Here is a sample console log that I would like to display in a textbox.
2016-06-10 17:46:13.4371|INFO|FO_DicomExpress.frmMain|Starting application.
2016-06-10 17:46:31.2439|INFO|Dicom.Network|CALLED_AE -> Association request:
Calling AE Title: CALLING_AE
Called AE Title: CALLED_AE
Implementation Class: Implementation Class UID [1.3.6.1.4.1.30071.8]
Implementation Version: fo-dicom 2.0.2
Maximum PDU Length: 16384
Async Ops Invoked: 0
Async Ops Performed: 0
Presentation Contexts: 1
Presentation Context: 1 [Proposed]
Abstract Syntax: Modality Worklist Information Model - FIND
Transfer Syntax: Explicit VR Little Endian
Transfer Syntax: Implicit VR Little Endian: Default Transfer Syntax for DICOM
2016-06-10 17:46:31.2598|INFO|Dicom.Network|CALLED_AE <- Association accept:
Calling AE Title: CALLING_AE
Called AE Title: CALLED_AE
Implementation Class: Unknown [1.2.826.0.1.3680043.2.1545.3]
Implementation Version: 3.0.0
Maximum PDU Length: 16384
Async Ops Invoked: 1
Async Ops Performed: 1
Presentation Contexts: 1
Presentation Context: 1 [Accept]
Abstract Syntax: Modality Worklist Information Model - FIND
Transfer Syntax: Implicit VR Little Endian: Default Transfer Syntax for DICOM
2016-06-10 17:46:31.2858|INFO|Dicom.Network|CALLED_AE -> C-Find request [1]
2016-06-10 17:46:31.5297|INFO|Dicom.Network|CALLED_AE <- C-Find response [1]: Pending
2016-06-10 17:46:32.1574|INFO|Dicom.Network|CALLED_AE <- C-Find response [1]: Success
2016-06-10 17:46:32.2245|INFO|Dicom.Network|CALLED_AE -> Association release request
2016-06-10 17:46:32.2245|INFO|Dicom.Network|CALLED_AE <- Association release response
2016-06-10 17:46:32.4414|INFO|Dicom.Network|Connection closed