Search Results for

    Show / Hide Table of Contents

    Class LoggingWidget

    Widget which shows log entries

    Inheritance
    object
    BaseWidget
    BoxWidget
    TextBoxWidget
    LoggingWidget
    Implements
    IWidget
    Inherited Members
    TextBoxWidget.Padding
    TextBoxWidget.Text
    TextBoxWidget.TextSize
    TextBoxWidget.TextColor
    BoxWidget.CornerRadius
    BoxWidget.BackColor
    BoxWidget.Opacity
    BaseWidget.InputAreaType
    BaseWidget.HorizontalAlignment
    BaseWidget.VerticalAlignment
    BaseWidget.Margin
    BaseWidget.Position
    BaseWidget.Width
    BaseWidget.Height
    BaseWidget.Envelope
    BaseWidget.Enabled
    BaseWidget.InputTransparent
    BaseWidget.WithTappedEvent
    BaseWidget.WithPointerPressedEvent
    BaseWidget.WithPointerMovedEvent
    BaseWidget.WithPointerReleased
    BaseWidget.Tapped
    BaseWidget.PointerPressed
    BaseWidget.PointerMoved
    BaseWidget.PointerReleased
    BaseWidget.UpdateEnvelope(double, double, double, double)
    BaseWidget.OnTapped(WidgetEventArgs)
    BaseWidget.OnPointerPressed(WidgetEventArgs)
    BaseWidget.OnPointerMoved(WidgetEventArgs)
    BaseWidget.OnPointerReleased(WidgetEventArgs)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Mapsui.Widgets.InfoWidgets
    Assembly: Mapsui.dll
    Syntax
    public class LoggingWidget : TextBoxWidget, IWidget
    Remarks

    With this, the user could see the log entries on the screen. without saving them to a file or somewhere else.

    Constructors

    | Edit this page View Source

    LoggingWidget(Action)

    Declaration
    public LoggingWidget(Action refreshGraphics)
    Parameters
    Type Name Description
    Action refreshGraphics

    Properties

    | Edit this page View Source

    ErrorTextColor

    Color for errors

    Declaration
    public Color ErrorTextColor { get; set; }
    Property Value
    Type Description
    Color
    | Edit this page View Source

    InformationTextColor

    Color for information text

    Declaration
    public Color InformationTextColor { get; set; }
    Property Value
    Type Description
    Color
    | Edit this page View Source

    ListOfLogEntries

    Declaration
    public ConcurrentQueue<LoggingWidget.LogEntry> ListOfLogEntries { get; }
    Property Value
    Type Description
    ConcurrentQueue<LoggingWidget.LogEntry>
    | Edit this page View Source

    LogLevelFilter

    Filter for LogLevel Only this or higher levels are printed

    Declaration
    public LogLevel LogLevelFilter { get; set; }
    Property Value
    Type Description
    LogLevel
    | Edit this page View Source

    MaxNumberOfLogEntriesToKeep

    Declaration
    public int MaxNumberOfLogEntriesToKeep { get; set; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    ShowLoggingInMap

    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
    Type Description
    ActiveMode
    | Edit this page View Source

    WarningTextColor

    Color for warnings

    Declaration
    public Color WarningTextColor { get; set; }
    Property Value
    Type Description
    Color

    Methods

    | Edit this page View Source

    Clear()

    Declaration
    public void Clear()
    | Edit this page View Source

    Log(LogLevel, string, Exception?)

    Event handler for logging

    Declaration
    public void Log(LogLevel level, string description, Exception? exception)
    Parameters
    Type Name Description
    LogLevel level
    string description
    Exception exception

    Implements

    IWidget

    Extension Methods

    DisposableExtension.DisposeIfDisposable(object?)
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX