[This is preliminary documentation and is subject to change.]
The FormControlTarget type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | FormControlTarget |
Initializes a new instance of the FormControlTarget class.
|
Methods
Name | Description | |
---|---|---|
![]() | CloseTarget |
Closes the target and releases any unmanaged resources.
(Inherited from Target.) |
![]() | Dispose | Overloaded. |
![]() | Flush |
Flush any pending log messages (in case of asynchronous targets).
(Inherited from Target.) |
![]() | FlushAsync |
Flush any pending log messages asynchronously (in case of asynchronous targets).
(Inherited from Target.) |
![]() | InitializeTarget |
Initializes the target. Can be used by inheriting classes
to initialize logging.
(Inherited from Target.) |
![]() | PrecalculateVolatileLayouts |
Calls the Precalculate(LogEventInfo) on each volatile layout
used by this target.
(Inherited from Target.) |
![]() | ToString |
Returns a String that represents this instance.
(Inherited from Target.) |
![]() | Write | Overloaded. |
![]() | WriteAsyncLogEvent |
Writes the log to the target.
(Inherited from Target.) |
![]() | WriteAsyncLogEvents |
Writes the array of log events.
(Inherited from Target.) |
Properties
Name | Description | |
---|---|---|
![]() | Append |
Gets or sets a value indicating whether log text should be appended to the text of the control instead of overwriting it. |
![]() | ControlName |
Gets or sets the name of control to which NLog will log write log text.
|
![]() | FormName |
Gets or sets the name of the Form on which the control is located.
|
![]() | IsInitialized |
Gets a value indicating whether the target has been initialized.
(Inherited from Target.) |
![]() | Layout |
Gets or sets the layout used to format log messages.
(Inherited from TargetWithLayout.) |
![]() | LoggingConfiguration |
Gets the logging configuration this target is part of.
(Inherited from Target.) |
![]() | Name |
Gets or sets the name of the target.
(Inherited from Target.) |
![]() | ReverseOrder |
Gets or sets whether new log entry are added to the start or the end of the control
|
![]() | SyncRoot |
Gets the object which can be used to synchronize asynchronous operations that must rely on the .
(Inherited from Target.) |