Table of Contents

Class LoggersRequest

Namespace
Steeltoe.Management.Endpoint.Actuators.Loggers
Assembly
Steeltoe.Management.Endpoint.dll
public sealed class LoggersRequest
Inheritance
LoggersRequest
Inherited Members

Constructors

LoggersRequest()

Initializes a new instance of the LoggersRequest class for getting the log levels.

public LoggersRequest()

LoggersRequest(string, string?)

Initializes a new instance of the LoggersRequest class for changing a log level.

public LoggersRequest(string name, string? level)

Parameters

name string

The name or namespace of the logger level to change.

level string

The minimum level to log, or null to reset back to the original level.

Properties

Level

Gets the new minimum level to log at, or null to reset back to the original level.

public string? Level { get; }

Property Value

string

Name

Gets the name or namespace of the logger level to change, or null if Type is Get.

public string? Name { get; }

Property Value

string

Type

public LoggersRequestType Type { get; }

Property Value

LoggersRequestType

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.