Class Logging | Terminal.Gui v2 (original) (raw)
Namespace
Assembly
Terminal.Gui.dll
Singleton logging instance class. Do not use console loggers with this class as it will interfere with Terminal.Gui screen output (i.e. use a file logger).
public static class Logging
Inheritance
Logging
Inherited Members
Fields
Metric for how long it takes to read all available input from the input stream - at which point input loop will sleep.
Metric for how long it took to do the 'timeouts and invokes' section of main loop.
Counter for when we redraw, helps detect situations e.g. where we are repainting entire UI every loop
Metric for how long it takes each full iteration of the main loop to occur
Properties
Logger, defaults to NullLogger (i.e. no logging). Set this to a file logger to enable logging of Terminal.Gui internals.
Methods
Critical(string, string, string)
Logs a fatal/critical message including the class and method name.
Logs a debug message including the class and method name.
Logs an error message including the class and method name.
Information(string, string, string)
Logs an informational message including the class and method name.
Logs a trace/verbose message including the class and method name.
Warning(string, string, string)
Logs a warning message including the class and method name.