@@ -22,7 +22,7 @@ public class SdkLoggingConfiguration
2222 /// <summary>
2323 /// Gets or sets whether sensitive headers should be masked in logs.
2424 /// </summary>
25- public bool MaskSensitiveHeaders { get ; }
25+ public bool MaskSensitiveHeaders { get ; }
2626
2727 /// <summary>
2828 /// Gets or sets the configuration for request logging.
@@ -34,11 +34,6 @@ public class SdkLoggingConfiguration
3434 /// </summary>
3535 public ResponseLoggingConfiguration ResponseLoggingConfiguration { get ; }
3636
37- /// <summary>
38- /// Gets a value indicating whether the logging configuration is fully set up.
39- /// </summary>
40- public bool IsConfigured => Logger != NullLogger . Instance ;
41-
4237 private SdkLoggingConfiguration ( ILogger logger , LogLevel ? logLevel , bool maskSensitiveHeaders ,
4338 RequestLoggingConfiguration requestLoggingConfiguration ,
4439 ResponseLoggingConfiguration responseLoggingConfiguration )
@@ -49,19 +44,12 @@ private SdkLoggingConfiguration(ILogger logger, LogLevel? logLevel, bool maskSen
4944 RequestLoggingConfiguration = requestLoggingConfiguration ;
5045 ResponseLoggingConfiguration = responseLoggingConfiguration ;
5146 }
52-
53-
54- public static SdkLoggingConfiguration Default ( ) =>
55- new SdkLoggingConfiguration ( NullLogger . Instance , null , true ,
56- RequestLoggingConfiguration . Default ( ) ,
57- ResponseLoggingConfiguration . Default ( ) ) ;
5847
5948 public static SdkLoggingConfiguration Console ( ) =>
6049 new SdkLoggingConfiguration ( ConsoleLogger . Instance , null , true ,
6150 RequestLoggingConfiguration . Default ( ) ,
6251 ResponseLoggingConfiguration . Default ( ) ) ;
6352
64-
6553 public static SdkLoggingConfiguration Builder ( ILogger logger , LogLevel ? logLevel , bool maskSensitiveHeaders ,
6654 RequestLoggingConfiguration requestLoggingConfiguration ,
6755 ResponseLoggingConfiguration responseLoggingConfiguration )
0 commit comments