Search Results for

    Show / Hide Table of Contents

    Class TextViewLogProvider

    An Android TextView-based log provider.

    Inheritance
    System.Object
    LogProvider
    LogProvider
    TextViewLogProvider
    Inherited Members
    LogProvider.ProcessId
    LogProvider.Level
    LogProvider.Filter
    LogProvider.Log(LogEvent)
    LogProvider.GetPrefix(LogLevel, Boolean)
    LogProvider.GenerateLogLine(LogEvent)
    LogProvider.GetProduct()
    LogProvider.GetLogLevelString(LogLevel)
    LogProvider.GetPrefixTimestamp(DateTime)
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ToString()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: FM.LiveSwitch.Android
    Assembly: FM.LiveSwitch.Android.dll
    Syntax
    public class TextViewLogProvider : LogProvider

    Constructors

    TextViewLogProvider(Activity, TextView)

    Initializes a new instance of the TextViewLogProvider class.

    Declaration
    public TextViewLogProvider(Activity activity, TextView textView)
    Parameters
    Type Name Description
    Android.App.Activity activity

    The activity.

    Android.Widget.TextView textView

    The text view.

    TextViewLogProvider(Activity, TextView, LogLevel)

    Initializes a new instance of the TextViewLogProvider class.

    Declaration
    public TextViewLogProvider(Activity activity, TextView textView, LogLevel level)
    Parameters
    Type Name Description
    Android.App.Activity activity

    The activity.

    Android.Widget.TextView textView

    The text view.

    LogLevel level

    The level.

    Methods

    DoLog(LogEvent)

    Logs a message at the specified log level.

    Declaration
    protected override void DoLog(LogEvent logEvent)
    Parameters
    Type Name Description
    LogEvent logEvent

    The log event details.

    Overrides
    LogProvider.DoLog(LogEvent)

    WriteLine(String)

    Writes a line of text to the log.

    Declaration
    public void WriteLine(string text)
    Parameters
    Type Name Description
    System.String text

    The text to write to the log.

    In This Article
    Back to top Copyright © LiveSwitch Inc. All Rights Reserved. Doc build for LiveSwitch v1.24.3