Class LoggersEndpoint
Inheritance
System.Object
LoggersEndpoint
Assembly: Steeltoe.Management.EndpointBase.dll
Syntax
public class LoggersEndpoint : AbstractEndpoint<Dictionary<string, object>, LoggersChangeRequest>, IEndpoint<Dictionary<string, object>, LoggersChangeRequest>, IEndpoint, ILoggersEndpoint
Constructors
|
Edit this page
View Source
LoggersEndpoint(ILoggersOptions, IDynamicLoggerProvider, ILogger<LoggersEndpoint>)
Declaration
public LoggersEndpoint(ILoggersOptions options, IDynamicLoggerProvider cloudFoundryLoggerProvider = null, ILogger<LoggersEndpoint> logger = null)
Parameters
Properties
|
Edit this page
View Source
Options
Declaration
protected ILoggersOptions Options { get; }
Property Value
Methods
|
Edit this page
View Source
AddLevels(Dictionary<String, Object>)
Declaration
public virtual void AddLevels(Dictionary<string, object> result)
Parameters
Type |
Name |
Description |
Dictionary<System.String, System.Object> |
result |
|
|
Edit this page
View Source
DeserializeRequest(Stream)
Declaration
public Dictionary<string, string> DeserializeRequest(Stream stream)
Parameters
Type |
Name |
Description |
Stream |
stream |
|
Returns
Type |
Description |
Dictionary<System.String, System.String> |
|
|
Edit this page
View Source
DoInvoke(IDynamicLoggerProvider, LoggersChangeRequest)
Declaration
public virtual Dictionary<string, object> DoInvoke(IDynamicLoggerProvider provider, LoggersChangeRequest request)
Parameters
Returns
Type |
Description |
Dictionary<System.String, System.Object> |
|
|
Edit this page
View Source
GetLoggerConfigurations(IDynamicLoggerProvider)
Declaration
public virtual ICollection<ILoggerConfiguration> GetLoggerConfigurations(IDynamicLoggerProvider provider)
Parameters
Type |
Name |
Description |
IDynamicLoggerProvider |
provider |
|
Returns
Type |
Description |
ICollection<ILoggerConfiguration> |
|
|
Edit this page
View Source
Invoke(LoggersChangeRequest)
Declaration
public override Dictionary<string, object> Invoke(LoggersChangeRequest request)
Parameters
Returns
Type |
Description |
Dictionary<System.String, System.Object> |
|
Overrides
Steeltoe.Management.AbstractEndpoint<Dictionary<System.String, System.Object>, Steeltoe.Management.Endpoint.Loggers.LoggersChangeRequest>.Invoke(Steeltoe.Management.Endpoint.Loggers.LoggersChangeRequest)
|
Edit this page
View Source
SetLogLevel(IDynamicLoggerProvider, String, String)
Declaration
public virtual void SetLogLevel(IDynamicLoggerProvider provider, string name, string level)
Parameters
Type |
Name |
Description |
IDynamicLoggerProvider |
provider |
|
System.String |
name |
|
System.String |
level |
|
Implements