Class JSONDestination
Provides detailed JSON-based logging format
Inheritance
System.Object
JSONDestination
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)
System.Object.ToString()
Namespace: NFX.Log.Destinations
Assembly: NFX.dll
Syntax
public sealed class JSONDestination : TextFileDestination, IApplicationComponent, IDisposable, IConfigurable, IExternallyParameterized
Constructors
JSONDestination()
Declaration
public JSONDestination()
JSONDestination(String)
Declaration
public JSONDestination(string name = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | name |
Methods
DoConfigure(IConfigSectionNode)
Declaration
protected override void DoConfigure(IConfigSectionNode node)
Parameters
Type | Name | Description |
---|---|---|
IConfigSectionNode | node |
Overrides
DoFormatMessage(Message)
Declaration
protected override string DoFormatMessage(Message msg)
Parameters
Type | Name | Description |
---|---|---|
Message | msg |
Returns
Type | Description |
---|---|
System.String |
Overrides
Implements
System.IDisposable