Class SkySink
Sends log messages to log receiver
Inheritance
System.Object
SkySink
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
Assembly: Azos.Sky.dll
Syntax
public sealed class SkySink : Sink, IDisposable, IDaemon, IDaemonView, IApplicationComponent, ILocalizedTimeProvider, IInstrumentable, IExternallyParameterized, IConfigurable, INamed, IOrdered
Constructors
SkySink(ISinkOwner)
Declaration
public SkySink(ISinkOwner owner)
Parameters
Type | Name | Description |
---|---|---|
ISinkOwner | owner |
SkySink(ISinkOwner, String, Int32)
Declaration
public SkySink(ISinkOwner owner, string name, int order)
Parameters
Type | Name | Description |
---|---|---|
ISinkOwner | owner | |
System.String | name | |
System.Int32 | order |
Fields
CONFIG_HOST_ATTR
Declaration
public const string CONFIG_HOST_ATTR = "host"
Field Value
Type | Description |
---|---|
System.String |
Properties
Host
Specifies the name of the host where the destination sends the data
Declaration
[Config]
[ExternalParameter(new string[]{"log"})]
public string Host { get; set; }
Property Value
Type | Description |
---|---|
System.String |
LogLevel
Specifies the log level for logging operations of this sink
Declaration
[Config(Default = MessageType.Warning)]
[ExternalParameter(new string[]{"log"})]
public MessageType LogLevel { get; set; }
Property Value
Type | Description |
---|---|
MessageType |
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
DoWaitForCompleteStop()
Declaration
protected override void DoWaitForCompleteStop()
Overrides
Implements
System.IDisposable