docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class MockLogger

    Inheritance
    object
    MockLogger
    Implements
    ILogger
    ILogHandler
    Namespace: Unity.RenderStreaming.RuntimeTest
    Assembly: Unity.RenderStreaming.RuntimeTests.dll
    Syntax
    public class MockLogger : ILogger, ILogHandler

    Properties

    filterLogType

    Declaration
    public LogType filterLogType { get; set; }
    Property Value
    Type Description
    LogType

    logEnabled

    Declaration
    public bool logEnabled { get; set; }
    Property Value
    Type Description
    bool

    logHandler

    Declaration
    public ILogHandler logHandler { get; set; }
    Property Value
    Type Description
    ILogHandler

    Methods

    IsLogTypeAllowed(LogType)

    Declaration
    public bool IsLogTypeAllowed(LogType logType)
    Parameters
    Type Name Description
    LogType logType
    Returns
    Type Description
    bool

    Log(object)

    Declaration
    public void Log(object message)
    Parameters
    Type Name Description
    object message

    Log(string, object)

    Declaration
    public void Log(string tag, object message)
    Parameters
    Type Name Description
    string tag
    object message

    Log(string, object, Object)

    Declaration
    public void Log(string tag, object message, Object context)
    Parameters
    Type Name Description
    string tag
    object message
    Object context

    Log(LogType, object)

    Declaration
    public void Log(LogType logType, object message)
    Parameters
    Type Name Description
    LogType logType
    object message

    Log(LogType, object, Object)

    Declaration
    public void Log(LogType logType, object message, Object context)
    Parameters
    Type Name Description
    LogType logType
    object message
    Object context

    Log(LogType, string, object)

    Declaration
    public void Log(LogType logType, string tag, object message)
    Parameters
    Type Name Description
    LogType logType
    string tag
    object message

    Log(LogType, string, object, Object)

    Declaration
    public void Log(LogType logType, string tag, object message, Object context)
    Parameters
    Type Name Description
    LogType logType
    string tag
    object message
    Object context

    LogError(string, object)

    Declaration
    public void LogError(string tag, object message)
    Parameters
    Type Name Description
    string tag
    object message

    LogError(string, object, Object)

    Declaration
    public void LogError(string tag, object message, Object context)
    Parameters
    Type Name Description
    string tag
    object message
    Object context

    LogException(Exception)

    Declaration
    public void LogException(Exception exception)
    Parameters
    Type Name Description
    Exception exception

    LogException(Exception, Object)

    Declaration
    public void LogException(Exception exception, Object context)
    Parameters
    Type Name Description
    Exception exception
    Object context

    LogFormat(LogType, string, params object[])

    Declaration
    public void LogFormat(LogType logType, string format, params object[] args)
    Parameters
    Type Name Description
    LogType logType
    string format
    object[] args

    LogFormat(LogType, Object, string, params object[])

    Declaration
    public void LogFormat(LogType logType, Object context, string format, params object[] args)
    Parameters
    Type Name Description
    LogType logType
    Object context
    string format
    object[] args

    LogWarning(string, object)

    Declaration
    public void LogWarning(string tag, object message)
    Parameters
    Type Name Description
    string tag
    object message

    LogWarning(string, object, Object)

    Declaration
    public void LogWarning(string tag, object message, Object context)
    Parameters
    Type Name Description
    string tag
    object message
    Object context

    Implements

    ILogger
    ILogHandler
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)