Skip to content
ConsoleMonster
Class

ConsoleLogRecord

ConsoleMonster.Output

Namespace
ConsoleMonster.Output
Assembly
ConsoleMonster
Modifiers
sealed

One record of a ConsoleLogFile.

Inheritance

  • object
  • ConsoleLogRecord

Usage

Explore 2 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.

Accepted by parameters 2

Constructors

public ConsoleLogRecord(DateTime time, string message, string? level = null, string? category = null) #

Creates a record.

Parameters

time System.DateTime required
The time.
message string required
The message (may contain line breaks).
level string? = null optional
A level (Info, Warning, Error...), or null.
category string? = null optional
A category, or null.

Properties

public DateTime Time { get; } #

The time.

public string Message { get; } #

The message.

public string? Level { get; } #

The level, or null.

public string? Category { get; } #

The category, or null.