Class LoggingWidget
Widget which shows log entries
Inheritance
LoggingWidget
Assembly: Mapsui.dll
public class LoggingWidget : TextBoxWidget, IWidget
Constructors
|
Edit this page
View Source
Declaration
public LoggingWidget(Action refreshGraphics)
Parameters
| Type |
Name |
Description |
| Action |
refreshGraphics |
|
Properties
|
Edit this page
View Source
ErrorTextColor
Declaration
public Color ErrorTextColor { get; set; }
Property Value
|
Edit this page
View Source
InformationTextColor
Color for information text
Declaration
public Color InformationTextColor { get; set; }
Property Value
|
Edit this page
View Source
Declaration
public ConcurrentQueue<LoggingWidget.LogEntry> ListOfLogEntries { get; }
Property Value
|
Edit this page
View Source
Filter for LogLevel
Only this or higher levels are printed
Declaration
public LogLevel LogLevelFilter { get; set; }
Property Value
|
Edit this page
View Source
Declaration
public int MaxNumberOfLogEntriesToKeep { get; set; }
Property Value
|
Edit this page
View Source
Global setting to control logging in the map. Note, that there will never be logging in the map if the
Enabled field of the logging widget is false.
Declaration
public static ActiveMode ShowLoggingInMap { get; set; }
Property Value
|
Edit this page
View Source
WarningTextColor
Declaration
public Color WarningTextColor { get; set; }
Property Value
Methods
|
Edit this page
View Source
Declaration
|
Edit this page
View Source
Event handler for logging
Declaration
public void Log(LogLevel level, string description, Exception? exception)
Parameters
Implements
Extension Methods