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
stringThe name or namespace of the logger level to change.
level
stringThe 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
Name
public string? Name { get; }
Property Value
Type
public LoggersRequestType Type { get; }
Property Value
Methods
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.