RemoteLoggingServerPlugin ClassApache log4net™ SDK Documentation
Plugin that listens for events from the RemotingAppender
Inheritance Hierarchy

SystemObject
  log4net.PluginPluginSkeleton
    log4net.PluginRemoteLoggingServerPlugin

Namespace: log4net.Plugin
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

public class RemoteLoggingServerPlugin : PluginSkeleton

The RemoteLoggingServerPlugin type exposes the following members.

Constructors

  NameDescription
Public methodRemoteLoggingServerPlugin
Default constructor
Public methodRemoteLoggingServerPlugin(String)
Construct with sink Uri.
Top
Properties

  NameDescription
Protected propertyLoggerRepository
The repository for this plugin
(Inherited from PluginSkeleton.)
Public propertyName
Gets or sets the name of the plugin.
(Inherited from PluginSkeleton.)
Public propertySinkUri
Gets or sets the URI of this sink.
Top
Methods

  NameDescription
Public methodAttach
Attaches this plugin to a ILoggerRepository.
(Overrides PluginSkeletonAttach(ILoggerRepository).)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodShutdown
Is called when the plugin is to shutdown.
(Overrides PluginSkeletonShutdown.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
Remarks

This plugin publishes an instance of RemotingAppenderIRemoteLoggingSink on a specified SinkUri. This listens for logging events delivered from a remote RemotingAppender.

When an event is received it is relogged within the attached repository as if it had been raised locally.

See Also

Reference