ILogHighlighter Interface
Defines a highlighter that can process and mark parts of log messages for special rendering.
public interface ILogHighlighterMethods
| Name | Description |
|---|---|
| Process(string) | Processes the specified text and returns a collection of highlight results. |
Process(string)
Processes the specified text and returns a collection of highlight results.
IEnumerable<LogHighlighterResult> Process(string text)Parameters
textstring- The text to process.
Returns
IEnumerable<LogHighlighterResult> A collection of LogHighlighterResult objects indicating which parts of the text should be highlighted.