Show / Hide Table of Contents

Class LoggerConfiguration

Inheritance
System.Object
LoggerConfiguration
LoggingInfo
Implements
ILoggerConfiguration
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: Phoenix.Logger
Assembly: Phoenix.Abstractions.Logger.dll
Syntax
public class LoggerConfiguration : ILoggerConfiguration

Constructors

View Source

LoggerConfiguration(String, LogSeverity, String, String, Boolean)

Initializes a new instance of the LoggerConfiguration class.

Declaration
public LoggerConfiguration(string prefixName, LogSeverity defaultSeverity, string defaultCategory, string textColor, bool showPrefix)
Parameters
Type Name Description
System.String prefixName

The prefix name for this category.

LogSeverity defaultSeverity

The default severity for this category.

System.String defaultCategory

The category this prefix will use if not specified.

System.String textColor

The color of the text for this category.

System.Boolean showPrefix

True to show prefix, false otherwise.

Properties

View Source

LogPrefixDefaultCategory

Gets the category this prefix is associated with.

Declaration
public string LogPrefixDefaultCategory { get; }
Property Value
Type Description
System.String
View Source

LogPrefixDefaultSeverity

Gets the default log severity for this category.

Declaration
public LogSeverity LogPrefixDefaultSeverity { get; }
Property Value
Type Description
LogSeverity
View Source

LogPrefixName

Gets the prefix name for this category.

Declaration
public string LogPrefixName { get; }
Property Value
Type Description
System.String
View Source

LogPrefixShowPrefix

Gets a value indicating whether to show the prefix and timestamp at the beginning of each line.

Declaration
public bool LogPrefixShowPrefix { get; }
Property Value
Type Description
System.Boolean
View Source

LogPrefixTextColor

Gets the color of the text for this category.

Declaration
public string LogPrefixTextColor { get; }
Property Value
Type Description
System.String

Implements

ILoggerConfiguration
  • View Source
In This Article
Back to top Generated by DocFX