Search Results for

    Show / Hide Table of Contents

    Class TextLogProvider

    Log provider that uses a Unity Text element.

    Inheritance
    System.Object
    LogProvider
    TextLogProvider
    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)
    Namespace: FM.LiveSwitch.Unity
    Assembly: FM.LiveSwitch.Unity.dll
    Syntax
    public class TextLogProvider : LogProvider

    Constructors

    TextLogProvider(Text)

    Initializes a new instance of the TextLogProvider class using Info.

    Declaration
    public TextLogProvider(Text text)
    Parameters
    Type Name Description
    Text text

    The Text element.

    TextLogProvider(Text, LogLevel)

    Initializes a new instance of the TextLogProvider class.

    Declaration
    public TextLogProvider(Text text, LogLevel level)
    Parameters
    Type Name Description
    Text text

    The Text element.

    LogLevel level

    The log level.

    Properties

    Text

    Gets the Unity Text element.

    Declaration
    public Text Text { get; }
    Property Value
    Type Description
    Text

    Methods

    Destroy()

    Destroys this instance.

    Declaration
    public void Destroy()

    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)
    In This Article
    Back to top Copyright © LiveSwitch Inc. All Rights Reserved. Doc build for LiveSwitch v1.15.0