The UdpAppender type exposes the following members.
Back to Top
Back to Top
Back to Top
Constructors
| Name | Description | |
|---|---|---|
| UdpAppender |
Initializes a new instance of the UdpAppender class.
|
Methods
| Name | Description | |
|---|---|---|
| ActivateOptions |
Initialize the appender based on the options set.
(Overrides AppenderSkeleton ActivateOptions .) | |
| AddFilter |
Adds a filter to the end of the filter chain.
(Inherited from AppenderSkeleton.) | |
| Append( LoggingEvent ) |
Append a bulk array of logging events.
(Inherited from AppenderSkeleton.) | |
| Append(LoggingEvent) |
This method is called by the DoAppend(LoggingEvent) method.
(Overrides AppenderSkeleton Append(LoggingEvent).) | |
| ClearFilters |
Clears the filter list for this appender.
(Inherited from AppenderSkeleton.) | |
| Close |
Closes the appender and release resources.
(Inherited from AppenderSkeleton.) | |
| DoAppend(LoggingEvent) |
Performs threshold checks and invokes filters before
delegating actual logging to the subclasses specific
[M:Append(LoggingEvent)] method.
(Inherited from AppenderSkeleton.) | |
| DoAppend( LoggingEvent ) |
Performs threshold checks and invokes filters before
delegating actual logging to the subclasses specific
[M:Append(LoggingEvent[])] method.
(Inherited from AppenderSkeleton.) | |
| (Inherited from | ||
| FilterEvent |
Test if the logging event should we output by this appender
(Inherited from AppenderSkeleton.) | |
| Finalize |
Finalizes this appender by calling the implementation's
Close method.
(Inherited from AppenderSkeleton.) | |
Serves as a hash function for a particular type.
(Inherited from | ||
Gets the (Inherited from | ||
| InitializeClientConnection |
Initializes the underlying | |
| IsAsSevereAsThreshold |
Checks if the message level is below this appender's threshold.
(Inherited from AppenderSkeleton.) | |
Creates a shallow copy of the current (Inherited from | ||
| OnClose |
Closes the UDP connection and releases all resources associated with
this UdpAppender instance.
(Overrides AppenderSkeleton OnClose .) | |
| PreAppendCheck |
Called before [M:Append(LoggingEvent)] as a precondition.
(Inherited from AppenderSkeleton.) | |
| RenderLoggingEvent(LoggingEvent) |
Renders the LoggingEvent to a string.
(Inherited from AppenderSkeleton.) | |
| RenderLoggingEvent(TextWriter, LoggingEvent) |
Renders the LoggingEvent to a string.
(Inherited from AppenderSkeleton.) | |
| (Inherited from |
Properties
| Name | Description | |
|---|---|---|
| Client |
Gets or sets the underlying | |
| Encoding |
Gets or sets Encoding used to write the packets.
| |
| ErrorHandler |
Gets or sets the IErrorHandler for this appender.
(Inherited from AppenderSkeleton.) | |
| FilterHead |
The filter chain.
(Inherited from AppenderSkeleton.) | |
| Layout |
Gets or sets the ILayout for this appender.
(Inherited from AppenderSkeleton.) | |
| LocalPort |
Gets or sets the TCP port number from which the underlying | |
| Name |
Gets or sets the name of this appender.
(Inherited from AppenderSkeleton.) | |
| RemoteAddress |
Gets or sets the IP address of the remote host or multicast group to which
the underlying | |
| RemoteEndPoint |
Gets or sets the cached remote endpoint to which the logging events should be sent.
| |
| RemotePort |
Gets or sets the TCP port number of the remote host or multicast group to which
the underlying | |
| RequiresLayout |
This appender requires a log4net.Layout to be set.
(Overrides AppenderSkeleton RequiresLayout.) | |
| Threshold |
Gets or sets the threshold Level of this appender.
(Inherited from AppenderSkeleton.) |
See Also