docs.unity3d.com
    Show / Hide Table of Contents

    Class FakeLogger

    Inheritance
    Object
    FakeLogger
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Tests
    Syntax
    public class FakeLogger : ILogger, ILogHandler

    Properties

    filterLogType

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

    logEnabled

    Declaration
    public bool logEnabled { get; set; }
    Property Value
    Type Description
    Boolean
    Implements
    ILogger.logEnabled

    logHandler

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

    Methods

    IsLogTypeAllowed(LogType)

    Declaration
    public bool IsLogTypeAllowed(LogType logType)
    Parameters
    Type Name Description
    LogType logType
    Returns
    Type Description
    Boolean
    Implements
    ILogger.IsLogTypeAllowed(LogType)

    Log(Object)

    Declaration
    public void Log(object message)
    Parameters
    Type Name Description
    Object message
    Implements
    ILogger.Log(Object)

    Log(String, Object)

    Declaration
    public void Log(string tag, object message)
    Parameters
    Type Name Description
    String tag
    Object message
    Implements
    ILogger.Log(String, Object)

    Log(String, Object, Object)

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

    Log(LogType, Object)

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

    Log(LogType, Object, Object)

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

    Log(LogType, String, Object)

    Declaration
    public void Log(LogType logType, string tag, object message)
    Parameters
    Type Name Description
    LogType logType
    String tag
    Object message
    Implements
    ILogger.Log(LogType, String, Object)

    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
    Implements
    ILogger.Log(LogType, String, Object, Object)

    LogError(String, Object)

    Declaration
    public void LogError(string tag, object message)
    Parameters
    Type Name Description
    String tag
    Object message
    Implements
    ILogger.LogError(String, Object)

    LogError(String, Object, Object)

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

    LogException(Exception)

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

    LogException(Exception, Object)

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

    LogFormat(LogType, String, Object[])

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

    LogFormat(LogType, Object, String, 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
    Implements
    ILogHandler.LogFormat(LogType, Object, String, Object[])

    LogWarning(String, Object)

    Declaration
    public void LogWarning(string tag, object message)
    Parameters
    Type Name Description
    String tag
    Object message
    Implements
    ILogger.LogWarning(String, Object)

    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.LogWarning(String, Object, Object)
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023