ConsoleLoggerOptions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Options for a Microsoft.Extensions.Logging.Console.ConsoleLogger.
public ref class ConsoleLoggerOptions
public class ConsoleLoggerOptions
type ConsoleLoggerOptions = class
Public Class ConsoleLoggerOptions
- Inheritance
-
ConsoleLoggerOptions
Constructors
ConsoleLoggerOptions() |
Properties
DisableColors |
Obsolete.
Disables colors when |
Format |
Obsolete.
Gets or sets log message format. Defaults to Default. |
FormatterName |
Name of the log message formatter to use. Defaults to |
IncludeScopes |
Obsolete.
Includes scopes when |
LogToStandardErrorThreshold |
Gets or sets value indicating the minimum level of messages that would get written to |
MaxQueueLength |
Gets or sets the maximum number of enqueued messages. Defaults to 2500. |
QueueFullMode |
Gets or sets the desired console logger behavior when the queue becomes full. Defaults to |
TimestampFormat |
Obsolete.
Gets or sets format string used to format timestamp in logging messages. Defaults to |
UseUtcTimestamp |
Obsolete.
Gets or sets indication whether or not UTC timezone should be used to format timestamps in logging messages. Defaults to |
Methods
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
ToString() |
Returns a string that represents the current object. (Inherited from Object) |
Applies to
.NET