Click or drag to resize

ConsoleLogger Class

An ILogger implementation that logs to the Console.
Inheritance Hierarchy
SystemObject
  callback.ShellBoost.Core.UtilitiesConsoleLogger

Namespace:  callback.ShellBoost.Core.Utilities
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public class ConsoleLogger : ILogger

The ConsoleLogger type exposes the following members.

Constructors
  NameDescription
Public methodConsoleLogger
Initializes a new instance of the ConsoleLogger class.
Top
Properties
  NameDescription
Public propertyAddCounter
Gets or sets a value indicating whether to add a counter in front of calls.
Public propertyAddThreadId
Gets or sets a value indicating whether to add the thread identifier to logs.
Public propertyAddUnmanagedThreadId
Gets or sets a value indicating whether to add the unmanaged thread identifier to logs.
Public propertyCounter
Gets or sets a counter to use.
Public propertyMaximumTraceLevel
Gets or sets the maximum trace level to output to the console.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodLog
Logs a value at a specified trace level.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodResetColor
Sets the foreground and background colors to their defaults.
Protected methodSetForegroundColor
Sets the foreground color.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodStatic memberWrite
Writes the text representation of the specified object.
Protected methodWriteLine(String)
Writes the specified string value, followed by the current line terminator.
Public methodStatic memberWriteLine(Object, ConsoleColor, NullableConsoleColor)
Writes the text representation of the specified object, followed by the current line terminator, to the standard output stream.
Top
See Also