Class
LogLineParser
ConsoleMonster.Live.Tails
Extracts optional metadata while preserving the entire input as literal text.
Inheritance
- object
- LogLineParser
Methods
public static TailedLogEntry Parse(string line) #Parses a completed line for a leading timestamp and the first recognised whole level word.
Parameters
- line string
- The literal line without its terminator.
Returns
TailedLogEntry The unchanged text, a canonical level (info by default), an optional timestamp and a display message.Exceptions
ArgumentNullException– line is null.