Skip to content
ConsoleMonster

API Reference

Class

LogEntry

Namespace ConsoleMonster.Widgets
Assembly ConsoleMonster
Modifiers sealed

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

Constructors

LogEntry 2 overloads
public LogEntry(TimeSpan time, String level, String text) #

Creates an entry.

Parameters

time System.TimeSpan requiredposition: 0
Session time of the entry.
level System.String requiredposition: 1
Level: out, err, info, warn, verbose, debug, host, pass, fail.
text System.String requiredposition: 2
The text (single line).
public LogEntry(TimeSpan time, String level, RichText text) #

Creates a multicolour entry.

Parameters

time System.TimeSpan requiredposition: 0
Session time of the entry.
level System.String requiredposition: 1
The level.
text ConsoleMonster.Text.RichText requiredposition: 2
The rich line.

Properties

public TimeSpan Time { get; } #

Session time of the entry.

public String Level { get; } #

The level.

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.