Skip to content
ConsoleMonster

API Reference

Class

ConsoleLogRecord

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 requiredposition: 0
The time.
message System.String requiredposition: 1
The message (may contain line breaks).
level System.String? = null optionalposition: 2
A level (Info, Warning, Error...), or null.
category System.String? = null optionalposition: 3
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.