RemoteLoggingServerPlugin Class | Apache log4net™ SDK Documentation

Plugin that listens for events from the RemotingAppender
Inheritance Hierarchy

System
Object
log4net.Plugin
PluginSkeleton
log4net.Plugin
RemoteLoggingServerPlugin

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

C#
VB
C++
F#
Copy

    public class RemoteLoggingServerPlugin : PluginSkeleton

    Public Class RemoteLoggingServerPlugin
    	Inherits PluginSkeleton

    public ref class RemoteLoggingServerPlugin : public PluginSkeleton

    type RemoteLoggingServerPlugin =
        class
            inherit PluginSkeleton
        end

The RemoteLoggingServerPlugin type exposes the following members.

Constructors

| Name | Description
--- | --- | ---
| RemoteLoggingServerPlugin | Default constructor
| RemoteLoggingServerPlugin(String) | Construct with sink Uri.

Top
Properties

| Name | Description
--- | --- | ---
| LoggerRepository | The repository for this plugin (Inherited from PluginSkeleton.)
| Name | Gets or sets the name of the plugin. (Inherited from PluginSkeleton.)
| SinkUri | Gets or sets the URI of this sink.

Top
Methods

| Name | Description
--- | --- | ---
| Attach | Attaches this plugin to a ILoggerRepository. (Overrides PluginSkeleton Attach(ILoggerRepository).)
| Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.)
| GetType | Gets the Type of the current instance. (Inherited from Object.)
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.)
| Shutdown | Is called when the plugin is to shutdown. (Overrides PluginSkeleton Shutdown .)
| ToString | Returns a String that represents the current Object. (Inherited from Object.)

Top
Remarks

This plugin publishes an instance of RemotingAppender
IRemoteLoggingSink 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

log4net.Plugin Namespace