Show / Hide Table of Contents

Class ConsoleOptions

Inheritance
System.Object
ConsoleOptions
Namespace: Log73
Assembly: Log73.dll
Syntax
public class ConsoleOptions : object

Constructors

| Improve this Doc View Source

ConsoleOptions()

Declaration
public ConsoleOptions()

Fields

| Improve this Doc View Source

AlwaysLogTaskStart

Declaration
public bool AlwaysLogTaskStart
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

ColorScheme

The 16 color IColorScheme to use when Use24BitAnsi is false

Declaration
public IColorScheme ColorScheme
Field Value
Type Description
IColorScheme
| Improve this Doc View Source

DumpMessageType

Declaration
public MessageType DumpMessageType
Field Value
Type Description
MessageType
| Improve this Doc View Source

LogLevel

Declaration
public LogLevel LogLevel
Field Value
Type Description
LogLevel
| Improve this Doc View Source

ObjectSerializer

Declaration
public IObjectSerializer ObjectSerializer
Field Value
Type Description
IObjectSerializer
| Improve this Doc View Source

SeparateLogInfoWriteCalls

When Use24BitAnsi is true, ILogInfos are written together with the message and not written in separate write calls, if Use24BitAnsi is false and this is true they ARE written in seperate calls because of limitations.

Declaration
public bool SeparateLogInfoWriteCalls
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

SpaceAfterInfo

Declaration
public bool SpaceAfterInfo
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

Use24BitAnsi

Disables or enables the use of 24bit color Ansi escape codes.

Declaration
public bool Use24BitAnsi
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

UseBrackets

If true there are brackets ('[' and ']') around an ILogInfo's value and the message's LogType.

Declaration
public bool UseBrackets
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

WriteLineMessageType

Declaration
public MessageType WriteLineMessageType
Field Value
Type Description
MessageType
| Improve this Doc View Source

XmlWriterSettings

Declaration
public XmlWriterSettings XmlWriterSettings
Field Value
Type Description
XmlWriterSettings

Properties

| Improve this Doc View Source

UseAnsi

Disables or enables the use of Ansi escape codes when logging. When setting this property Use24BitAnsi is also set to the specified value.

Declaration
public bool UseAnsi { get; set; }
Property Value
Type Description
System.Boolean

Extension Methods

DumpExtensionMethods.Dump(Object)
DumpExtensionMethods.DumpInfo(Object)
DumpExtensionMethods.DumpWarn(Object)
DumpExtensionMethods.DumpError(Object)
DumpExtensionMethods.DumpDebug(Object)
SerializeExtensionMethods.SerializeAsXml(Object)
SerializeExtensionMethods.SerializeAsXml(Object, XmlWriterSettings)
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX