LogReceiverWebServiceTarget Class |
Namespace: NLog.Targets
The LogReceiverWebServiceTarget type exposes the following members.
Name | Description | |
---|---|---|
LogReceiverWebServiceTarget |
Initializes a new instance of the LogReceiverWebServiceTarget class.
| |
LogReceiverWebServiceTarget(String) |
Initializes a new instance of the LogReceiverWebServiceTarget class.
|
Name | Description | |
---|---|---|
ClientId |
Gets or sets the client ID.
| |
EndpointAddress |
Gets or sets the endpoint address.
| |
EndpointConfigurationName |
Gets or sets the name of the endpoint configuration in WCF configuration file.
| |
IncludeEventProperties |
Gets or sets a value indicating whether to include per-event properties in the payload sent to the server.
| |
IsInitialized |
Gets a value indicating whether the target has been initialized.
(Inherited from Target.) | |
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.) | |
Parameters |
Gets the list of parameters.
| |
SyncRoot |
Gets the object which can be used to synchronize asynchronous operations that must rely on the .
(Inherited from Target.) | |
UseBinaryEncoding |
Gets or sets a value indicating whether to use binary message encoding.
| |
UseOneWayContract |
Gets or sets a value indicating whether to use a WCF service contract that is one way (fire and forget) or two way (request-reply)
|
Name | Description | |
---|---|---|
CloseTarget |
Closes the target to release any initialized resources
(Inherited from Target.) | |
CreateLogReceiver |
Creating a new instance of IWcfLogReceiverClient
Inheritors can override this method and provide their own
service configuration - binding and endpoint address
| |
Dispose |
Closes the target.
(Inherited from Target.) | |
Dispose(Boolean) |
Releases unmanaged and - optionally - managed resources.
(Inherited from Target.) | |
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).
(Overrides TargetFlushAsync(AsyncContinuation).) | |
InitializeTarget |
Initializes the target before writing starts
(Inherited from Target.) | |
OnSend |
Called when log events are being sent (test hook).
| |
PrecalculateVolatileLayouts |
Calls the Precalculate(LogEventInfo) on each volatile layout
used by this target.
This method won't prerender if all layouts in this target are thread-agnostic.
(Inherited from Target.) | |
RenderLogEvent(Layout, LogEventInfo) |
Renders the logevent into a string-result using the provided layout
(Inherited from Target.) | |
RenderLogEventT(LayoutT, LogEventInfo, T) |
Renders the logevent into a result-value by using the provided layout
(Inherited from Target.) | |
ResolveServiceT |
Resolve from DI ServiceRepository (Inherited from Target.) | |
ToString | Returns a string that represents the current object. (Inherited from Target.) | |
Write(AsyncLogEventInfo) |
Writes async log event to the log target.
(Overrides TargetWrite(AsyncLogEventInfo).) | |
Write(IListAsyncLogEventInfo) |
Writes an array of logging events to the log target. By default it iterates on all
events and passes them to "Write" method. Inheriting classes can use this method to
optimize batch writes.
(Overrides TargetWrite(IListAsyncLogEventInfo).) | |
Write(LogEventInfo) |
Writes logging event to the target destination
(Inherited from Target.) | |
WriteAsyncLogEvent |
Writes the log to the target.
(Inherited from Target.) | |
WriteAsyncLogEvents(AsyncLogEventInfo) |
Writes the array of log events.
(Inherited from Target.) | |
WriteAsyncLogEvents(IListAsyncLogEventInfo) |
Writes the array of log events.
(Inherited from Target.) | |
WriteAsyncThreadSafe(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.
(Inherited from Target.) | |
WriteAsyncThreadSafe(IListAsyncLogEventInfo) |
Writes an array of logging events 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.
(Inherited from Target.) | |
WriteFailedNotInitialized |
LogEvent is written to target, but target failed to successfully initialize
(Inherited from Target.) |