ILogHighlighter Interface

Defines a highlighter that can process and mark parts of log messages for special rendering.

public interface ILogHighlighter

Methods

NameDescription
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.

Parameters

text string
The text to process.

Returns

IEnumerable<LogHighlighterResult> A collection of LogHighlighterResult objects indicating which parts of the text should be highlighted.