LoggerFactoryOptions 类

定义

定义记录器工厂的选项。Defines the options for a logger factory.

public ref class LoggerFactoryOptions
public class LoggerFactoryOptions
type LoggerFactoryOptions = class
Public Class LoggerFactoryOptions
继承
LoggerFactoryOptions

构造函数

LoggerFactoryOptions()

创建一个新的 LoggerFactoryOptions 实例。Creates a new LoggerFactoryOptions instance.

属性

ActivityTrackingOptions

获取或设置活动跟踪选项,以指示应将跟踪上下文信息的哪些部分包含在日志记录范围中。Gets or sets the activity tracking options to indicate which parts of the tracing context information should be included with the logging scopes.

方法

Equals(Object)

确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(继承自 Object)

适用于