Class CompositeSink
Provides an abstraction of a wrap around another destinations
Inheritance
System.Object
CompositeSink
Implements
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Azos.Log.Sinks
Assembly: Azos.dll
Syntax
public class CompositeSink : Sink, IDisposable, IDaemon, IDaemonView, ILocalizedTimeProvider, IInstrumentable, IExternallyParameterized, IConfigurable, INamed, IOrdered, ISinkOwnerRegistration, ISinkOwner, IApplicationComponent
Constructors
CompositeSink(ISinkOwner)
Declaration
public CompositeSink(ISinkOwner owner)
Parameters
Type | Name | Description |
---|---|---|
ISinkOwner | owner |
CompositeSink(ISinkOwner, String, Int32)
Declaration
public CompositeSink(ISinkOwner owner, string name, int order)
Parameters
Type | Name | Description |
---|---|---|
ISinkOwner | owner | |
System.String | name | |
System.Int32 | order |
Properties
Sinks
Returns sinks that this sink wraps. This call is thread safe
Declaration
public IOrderedRegistry<Sink> Sinks { get; }
Property Value
Type | Description |
---|---|
IOrderedRegistry<Sink> |
Methods
Destructor()
Declaration
protected override void Destructor()
Overrides
DoConfigure(IConfigSectionNode)
Declaration
protected override void DoConfigure(IConfigSectionNode node)
Parameters
Type | Name | Description |
---|---|---|
IConfigSectionNode | node |
Overrides
DoPulse()
Declaration
protected override void DoPulse()
Overrides
DoSend(Message)
Declaration
protected override void DoSend(Message entry)
Parameters
Type | Name | Description |
---|---|---|
Message | entry |
Overrides
DoSignalStop()
Declaration
protected override void DoSignalStop()
Overrides
DoStart()
Declaration
protected override void DoStart()
Overrides
DoWaitForCompleteStop()
Declaration
protected override void DoWaitForCompleteStop()
Overrides
Explicit Interface Implementations
ISinkOwner.LogDaemon
Declaration
LogDaemonBase ISinkOwner.LogDaemon { get; }
Returns
Type | Description |
---|---|
LogDaemonBase |
Implements
System.IDisposable