LoggerOptions 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.
Logging options for a given log stream. This class is immutable.
public ref class LoggerOptions
[System.Diagnostics.DebuggerDisplay("{DebuggerDisplay,nq}")]
[System.Runtime.Serialization.DataContract]
public class LoggerOptions
[<System.Diagnostics.DebuggerDisplay("{DebuggerDisplay,nq}")>]
[<System.Runtime.Serialization.DataContract>]
type LoggerOptions = class
Public Class LoggerOptions
- Inheritance
-
LoggerOptions
- Attributes
Constructors
LoggerOptions(LoggingLevelSettings, PrivacyFlags, IReadOnlyCollection<String>, LoggingLevelSettings, LoggingLevelSettings, Boolean) |
Initializes a new instance of the LoggerOptions class. This constructor will specify all class parameters. |
LoggerOptions(LoggingLevelSettings, PrivacyFlags, IReadOnlyCollection<String>, LoggingLevelSettings, LoggingLevelSettings) |
Initializes a new instance of the LoggerOptions class. This constructor Will specify all class parameters. |
Properties
AutoFlushEnabled |
Gets a value indicating whether AutoFlush will be set for the registered trace source. |
MaxSupportedLoggingLevel |
Gets the requested LoggingLevelSettings. This defines the most verbose logging level that should ever be set. |
MinSupportedLoggingLevel |
Gets the requested LoggingLevelSettings. This defines the least verbose logging level that should ever be set. |
PrivacySetting |
Gets restrictions related to how a log stream may be distributed or automatically collected. |
RequestedLoggingLevel |
Gets the requested LoggingLevelSettings. This defines the logging level that the client wants to start with. May be null, which will request the current default from LogHub service. |
SystemTags |
Gets set of system tags that tag this log stream with the systems that could use this log. |