Compartilhar via


DefaultConsoleColorMapper Members

Include Protected Members
Include Inherited Members

Applies to: Semantic Logging 2.0

The DefaultConsoleColorMapper type exposes the following members.

Constructors

  Name Description
Public method DefaultConsoleColorMapper
Initializes a new instance of the DefaultConsoleColorMapper class

Methods

  Name Description
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method Map
Maps the specified EventLevel to a ConsoleColor.
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method ToString
Returns a string that represents the current object.
(Inherited from Object.)

Fields

  Name Description
Public fieldStatic member Critical
Default color value for when displaying events of level Critical.
Public fieldStatic member Error
Default color value for when displaying events of level Error.
Public fieldStatic member Informational
Default color value for when displaying events of level Informational.
Public fieldStatic member LogAlways
Default color value for when displaying events of level LogAlways.
Public fieldStatic member Verbose
Default color value for when displaying events of level Verbose.
Public fieldStatic member Warning
Default color value for when displaying events of level Warning.

See Also

DefaultConsoleColorMapper Class

Microsoft.Practices.EnterpriseLibrary.SemanticLogging.Formatters Namespace