Udostępnij za pośrednictwem


ConsoleLoggerSettings.TryGetSwitch(String, LogLevel) Metoda

Definicja

Ta metoda jest zachowywana tylko w celu zachowania zgodności.

public:
 virtual 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
override this.TryGetSwitch : string * LogLevel -> bool
Public Function TryGetSwitch (name As String, ByRef level As LogLevel) As Boolean

Parametry

name
String

Ta metoda jest zachowywana tylko w celu zachowania zgodności.

level
LogLevel

Ta metoda jest zachowywana tylko w celu zachowania zgodności.

Zwraca

Ta metoda jest zachowywana tylko w celu zachowania zgodności.

Implementuje

Dotyczy