API Reference
Class
LogEntry
One line in a LogRegion.
Inheritance
- Object
- LogEntry
Usage
Explore 1 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 1
- Property LogRegion.Entries
Constructors
LogEntry 2 overloads
public LogEntry(TimeSpan time, String level, String text) #Creates an entry.
Parameters
- time System.TimeSpan
- Session time of the entry.
- level System.String
- Level: out, err, info, warn, verbose, debug, host, pass, fail.
- text System.String
- The text (single line).
public LogEntry(TimeSpan time, String level, RichText text) #Creates a multicolour entry.
Parameters
- time System.TimeSpan
- Session time of the entry.
- level System.String
- The level.
- text ConsoleMonster.Text.RichText
- The rich line.
Inherited Methods
public virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?
Properties
public String Text { get; } #The text (the plain text of LogEntry.RichText when the entry is rich).
public RichText? RichText { get; } #A multicolour line, or null for literal LogEntry.Text.