Class Debug | Project Tiny | 0.31.0-preview.24
docs.unity.cn
    Show / Hide Table of Contents

    Class Debug

    Inheritance
    Object
    Debug
    Namespace: Unity.Tiny
    Syntax
    public static class Debug

    Methods

    FormatGeneric(String, Object[])

    Declaration
    public static FixedString4096 FormatGeneric(string format, object[] args)
    Parameters
    Type Name Description
    String format
    Object[] args
    Returns
    Type Description
    FixedString4096

    Log(Object)

    Writes an object's ToString to stdout.

    Declaration
    [Conditional("DEBUG")]
    public static void Log(object logObject)
    Parameters
    Type Name Description
    Object logObject

    LogAlways(Object)

    Writes an object's ToString to stdout.

    Declaration
    [Conditional("DEBUG")]
    public static void LogAlways(object logObject)
    Parameters
    Type Name Description
    Object logObject

    LogError(Object)

    Writes an object's ToString to stdout as a error.

    Declaration
    [Conditional("DEBUG")]
    public static void LogError(object message)
    Parameters
    Type Name Description
    Object message

    LogException(Exception)

    Writes a formatted string to stdout.

    Declaration
    [Conditional("DEBUG")]
    public static void LogException(Exception exception)
    Parameters
    Type Name Description
    Exception exception

    LogExceptionAlways(Exception)

    Writes a formatted string to stdout.

    Declaration
    [Conditional("DEBUG")]
    public static void LogExceptionAlways(Exception exception)
    Parameters
    Type Name Description
    Exception exception

    LogFormat(String, Object[])

    Writes a formatted string to stdout.

    Declaration
    [Conditional("DEBUG")]
    public static void LogFormat(string format, params object[] args)
    Parameters
    Type Name Description
    String format
    Object[] args

    LogFormatAlways(String, Object[])

    Writes a formatted string to stdout.

    Declaration
    [Conditional("DEBUG")]
    public static void LogFormatAlways(string format, params object[] args)
    Parameters
    Type Name Description
    String format
    Object[] args

    LogFormatRelease(String, Object[])

    Declaration
    public static void LogFormatRelease(string format, params object[] args)
    Parameters
    Type Name Description
    String format
    Object[] args

    LogFormatReleaseAlways(String, Object[])

    Declaration
    public static void LogFormatReleaseAlways(string format, params object[] args)
    Parameters
    Type Name Description
    String format
    Object[] args

    LogRelease(Object)

    Declaration
    public static void LogRelease(object logObject)
    Parameters
    Type Name Description
    Object logObject

    LogRelease(FixedString4096)

    Declaration
    public static void LogRelease(FixedString4096 log)
    Parameters
    Type Name Description
    FixedString4096 log

    LogReleaseAlways(Object)

    Declaration
    public static void LogReleaseAlways(object logObject)
    Parameters
    Type Name Description
    Object logObject

    LogReleaseAlways(FixedString4096)

    Declaration
    public static void LogReleaseAlways(FixedString4096 log)
    Parameters
    Type Name Description
    FixedString4096 log

    LogReleaseException(Exception)

    Declaration
    public static void LogReleaseException(Exception exception)
    Parameters
    Type Name Description
    Exception exception

    LogReleaseExceptionAlways(Exception)

    Declaration
    public static void LogReleaseExceptionAlways(Exception exception)
    Parameters
    Type Name Description
    Exception exception

    LogWarning(Object)

    Writes an object's ToString to stdout as a warning.

    Declaration
    [Conditional("DEBUG")]
    public static void LogWarning(object message)
    Parameters
    Type Name Description
    Object message
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 06 November 2020