Partilhar via


LogVerbosityState Class

Definition

Event args for changing the logging verbosity in a given trace log stream.

public ref class LogVerbosityState
[System.Diagnostics.DebuggerDisplay("{DebuggerDisplay,nq}")]
[System.Runtime.Serialization.DataContract]
public class LogVerbosityState
[<System.Diagnostics.DebuggerDisplay("{DebuggerDisplay,nq}")>]
[<System.Runtime.Serialization.DataContract>]
type LogVerbosityState = class
Public Class LogVerbosityState
Inheritance
LogVerbosityState
Attributes

Constructors

LogVerbosityState(LogId, LoggingLevelSettings)

Initializes a new instance of the LogVerbosityState class.

Properties

Id

Gets the LogId of the trace log stream that has a request to set the LoggingLevelSettings that determine the new logging verbosity.

VerbositySettings

Gets the LoggingLevelSettings that determine the new logging verbosity. Each level should automatically include all higher-severity messages. For Example: if the SourceLevels.Warning flag is set, logging of all Critical, Error, and Warning level events should be done.

Applies to