次の方法で共有


IConsoleLoggerSettings.TryGetSwitch(String, LogLevel) Method

Definition

This property is retained only for compatibility.

public:
 bool TryGetSwitch(System::String ^ name, [Runtime::InteropServices::Out] Microsoft::Extensions::Logging::LogLevel % level);
public bool TryGetSwitch (string name, out Microsoft.Extensions.Logging.LogLevel level);
abstract member TryGetSwitch : string * LogLevel -> bool
Public Function TryGetSwitch (name As String, ByRef level As LogLevel) As Boolean

Parameters

name
String

This property is retained only for compatibility.

level
LogLevel

This property is retained only for compatibility.

Returns

This property is retained only for compatibility.

Applies to