Class
LogHandle
ConsoleMonster.Widgets
Thread-safe live handle for a LogRegion.
Inheritance
- LiveHandle
- LogHandle
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
- Method LogRegion.Handle
Constructors
public LogHandle(ILiveDispatcher dispatcher, string widgetId) #Creates a handle.
Parameters
- dispatcher ConsoleMonster.Live.ILiveDispatcher
- The dispatcher.
- widgetId string
- The log name.
Methods
public void Write(string text, string level = "info", string? tag = null) #Writes a line.
Parameters
- text string
- The text.
- level string = "info"
- The level: info, warn, err, verbose, debug, pass.
- tag string? = null
- The source of the line (a job, server or component), or null.