Class ConsoleDestination
Logs messages in stdio.console
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 class ConsoleDestination : Destination, IApplicationComponent, IDisposable, IConfigurable, IExternallyParameterized
Constructors
ConsoleDestination()
Declaration
public ConsoleDestination()
ConsoleDestination(String)
Declaration
public ConsoleDestination(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name |
Properties
Colored
Declaration
[Config]
public bool Colored { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
LogTimeFormat
Time format for log line entries
Declaration
[Config]
public string LogTimeFormat { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
DoSend(Message)
Declaration
protected override void DoSend(Message msg)
Parameters
Type | Name | Description |
---|---|---|
Message | msg |
Overrides
Implements
System.IDisposable