A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://nlog-project.org/documentation/v4.7.0/html/M_NLog_Targets_Target_WriteAsyncThreadSafe.htm below:

TargetWriteAsyncThreadSafe Method (AsyncLogEventInfo)

Writes a log event to the log target, in a thread safe manner. Any override of this method has to provide their own synchronization mechanism. !WARNING! Custom targets should only override this method if able to provide their own synchronization mechanism.

Layout

-objects are not guaranteed to be thread-safe, so using them without a SyncRoot-object can be dangerous.

Namespace:  NLog.Targets
Assembly:

NLog (in NLog.dll) Version: 4.7.0+4d138800820311d0b60b6437f1dd2ed1d571d47d

Syntax
protected virtual void WriteAsyncThreadSafe(
	AsyncLogEventInfo logEvent
)
Protected Overridable Sub WriteAsyncThreadSafe ( 
	logEvent As AsyncLogEventInfo
)

Dim logEvent As AsyncLogEventInfo

Me.WriteAsyncThreadSafe(logEvent)
abstract WriteAsyncThreadSafe : 
        logEvent : AsyncLogEventInfo -> unit 
override WriteAsyncThreadSafe : 
        logEvent : AsyncLogEventInfo -> unit 
Parameters
logEvent
Type: NLog.CommonAsyncLogEventInfo
Log event to be written out.
See Also

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4