Skip to content
ConsoleMonster

API Reference

Class

LogHandle

Namespace ConsoleMonster.Widgets
Assembly ConsoleMonster
Modifiers sealed

Thread-safe live handle for a LogRegion.

Inheritance

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

public LogHandle(ILiveDispatcher dispatcher, String target) #

Creates a handle.

Parameters

dispatcher ConsoleMonster.Live.ILiveDispatcher requiredposition: 0
The dispatcher.
target System.String requiredposition: 1
The log name.

Methods

public Void Error(String text) #
Returns: Void

Writes an error.

Parameters

text System.String requiredposition: 0
The text.
public Void Warn(String text) #
Returns: Void

Writes a warning.

Parameters

text System.String requiredposition: 0
The text.
public Void Write(String text, String level = "info") #
Returns: Void

Writes a line.

Parameters

text System.String requiredposition: 0
The text.
level System.String = "info" optionalposition: 1
The level: info, warn, err, verbose, debug, pass.