Class TracingLogProcessor
- Namespace
- Steeltoe.Management.Tracing
- Assembly
- Steeltoe.Management.Tracing.dll
An IDynamicMessageProcessor that adds tracing details from Current (if found) to log messages.
public sealed class TracingLogProcessor : IDynamicMessageProcessor
- Inheritance
-
TracingLogProcessor
- Implements
- Inherited Members
Constructors
TracingLogProcessor(IApplicationInstanceInfo)
public TracingLogProcessor(IApplicationInstanceInfo applicationInstanceInfo)
Parameters
applicationInstanceInfoIApplicationInstanceInfo
Methods
Process(string)
Replaces the contents of an incoming log message.
public string Process(string message)
Parameters
messagestringThe incoming message text, just after formatting its parameters, but before the time stamp, category, level, exception and scopes are added.
Returns
- string
The decorated log message text.