Class LogReceiverService
Provides singleton server implementation of Contracts.ILogReceiver
Inheritance
System.Object
LogReceiverService
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.Sky.Log.Server
Assembly: Azos.Sky.dll
Syntax
public sealed class LogReceiverService : DaemonWithInstrumentation<IApplicationComponent>, IDisposable, IDaemon, IDaemonView, IApplicationComponent, INamed, IConfigurable, ILocalizedTimeProvider, IInstrumentable, IExternallyParameterized, ILogReceiver, ISkyService
Constructors
LogReceiverService(IApplication)
Declaration
public LogReceiverService(IApplication app)
Parameters
Type | Name | Description |
---|---|---|
IApplication | app |
Fields
CONFIG_ARCHIVE_MAPPER_SECTION
Declaration
public const string CONFIG_ARCHIVE_MAPPER_SECTION = "archive-mapper"
Field Value
Type | Description |
---|---|
System.String |
CONFIG_ARCHIVE_STORE_SECTION
Declaration
public const string CONFIG_ARCHIVE_STORE_SECTION = "archive-store"
Field Value
Type | Description |
---|---|
System.String |
Properties
ComponentLogTopic
Declaration
public override string ComponentLogTopic { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
InstrumentationEnabled
Declaration
[Config]
[ExternalParameter(new string[]{"log", "instrumentation"})]
public override bool InstrumentationEnabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
Azos.Apps.DaemonWithInstrumentation<Azos.Apps.IApplicationComponent>.InstrumentationEnabled
Methods
Destructor()
Declaration
protected override void Destructor()
Overrides
DoConfigure(IConfigSectionNode)
Declaration
protected override void DoConfigure(IConfigSectionNode node)
Parameters
Type | Name | Description |
---|---|---|
IConfigSectionNode | node |
Overrides
DoSignalStop()
Declaration
protected override void DoSignalStop()
Overrides
DoStart()
Declaration
protected override void DoStart()
Overrides
DoWaitForCompleteStop()
Declaration
protected override void DoWaitForCompleteStop()
Overrides
GetByID(Guid, String)
Declaration
public Message GetByID(Guid id, string channel = null)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | id | |
System.String | channel |
Returns
Type | Description |
---|---|
Message |
List(String, DateTime, DateTime, Nullable<MessageType>, String, String, String, Nullable<Guid>, Int32)
Declaration
public IEnumerable<Message> List(string archiveDimensionsFilter, DateTime startDate, DateTime endDate, MessageType? type = default(MessageType? ), string host = null, string channel = null, string topic = null, Guid? relatedTo = default(Guid? ), int skipCount = 0)
Parameters
Type | Name | Description |
---|---|---|
System.String | archiveDimensionsFilter | |
System.DateTime | startDate | |
System.DateTime | endDate | |
System.Nullable<MessageType> | type | |
System.String | host | |
System.String | channel | |
System.String | topic | |
System.Nullable<System.Guid> | relatedTo | |
System.Int32 | skipCount |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<Message> |
SendLog(Message)
Declaration
public void SendLog(Message data)
Parameters
Type | Name | Description |
---|---|---|
Message | data |
Implements
System.IDisposable