docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Method LogException

    LogException(Exception, Object)

    Same as LogException(Exception, Object), but does not print anything if tests are being run.

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

    Runtime Exception.

    Object context

    Object to which the message applies.

    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)