Show / Hide Table of Contents

    Class TMPLogColorFormatter

    Color-coded log formatter for TextMeshPro

    Inheritance
    Object
    TMPLogColorFormatter
    Implements
    ILogColorFormatter
    ILogFormatter
    Namespace: i5.Toolkit.Core.AppConsole
    Assembly: cs.temp.dll.dll
    Syntax
    public class TMPLogColorFormatter : ILogColorFormatter, ILogFormatter

    Properties

    AssertColor

    The color for assert messages

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

    DefaultColor

    The color for unexpected message types

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

    ErrorColor

    The color for error messages

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

    ExceptionColor

    The color for exception messages

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

    LogColor

    The color for log messages

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

    WarningColor

    The color for warning messages

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

    Methods

    Format(ILogMessage)

    Formats the given log message to text output

    Declaration
    public string Format(ILogMessage message)
    Parameters
    Type Name Description
    ILogMessage message

    The message to format

    Returns
    Type Description
    String

    Returns formatted text output based on the log message

    Implements

    ILogColorFormatter
    ILogFormatter
    Back to top i5 Toolkit Documentation