Class LoggingHandler
Inheritance
System.Object
LoggingHandler
Assembly: Steeltoe.Integration.IntegrationBase.dll
Syntax
public class LoggingHandler : AbstractMessageHandler
Constructors
|
Edit this page
View Source
LoggingHandler(IApplicationContext, LogLevel, ILogger)
Declaration
public LoggingHandler(IApplicationContext context, LogLevel level, ILogger logger)
Parameters
Type |
Name |
Description |
IApplicationContext |
context |
|
LogLevel |
level |
|
ILogger |
logger |
|
Properties
|
Edit this page
View Source
ComponentType
Declaration
public override string ComponentType { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
|
Edit this page
View Source
Level
Declaration
public LogLevel Level { get; }
Property Value
Type |
Description |
LogLevel |
|
|
Edit this page
View Source
MessageLogger
Declaration
public ILogger MessageLogger { get; }
Property Value
Methods
|
Edit this page
View Source
CreateLogMessage(IMessage)
Declaration
protected virtual string CreateLogMessage(IMessage message)
Parameters
Type |
Name |
Description |
IMessage |
message |
|
Returns
Type |
Description |
System.String |
|
|
Edit this page
View Source
HandleMessageInternal(IMessage)
Declaration
protected override void HandleMessageInternal(IMessage message)
Parameters
Type |
Name |
Description |
IMessage |
message |
|
Overrides
|
Edit this page
View Source
Initialize()
Declaration
public override void Initialize()
Overrides
Implements
IOrdered