Class MongoDbSink
Implements destination that sends log messages into MongoDB
Inheritance
System.Object
MongoDbSink
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.MongoDb.dll
Syntax
public class MongoDbSink : Sink, IDisposable, IDaemon, IDaemonView, IApplicationComponent, ILocalizedTimeProvider, IInstrumentable, IExternallyParameterized, IConfigurable, INamed, IOrdered
Constructors
MongoDbSink(ISinkOwner)
Declaration
public MongoDbSink(ISinkOwner owner)
Parameters
Type | Name | Description |
---|---|---|
ISinkOwner | owner |
MongoDbSink(ISinkOwner, String, Int32)
Declaration
public MongoDbSink(ISinkOwner owner, string name, int order)
Parameters
Type | Name | Description |
---|---|---|
ISinkOwner | owner | |
System.String | name | |
System.Int32 | order |
Methods
DoConfigure(IConfigSectionNode)
Declaration
protected override void DoConfigure(IConfigSectionNode node)
Parameters
Type | Name | Description |
---|---|---|
IConfigSectionNode | node |
Overrides
DoSend(Message)
Declaration
protected override void DoSend(Message entry)
Parameters
Type | Name | Description |
---|---|---|
Message | entry |
Overrides
DoStart()
Declaration
protected override void DoStart()
Overrides
Implements
System.IDisposable