docs.unity.cn
    Show / Hide Table of Contents

    Class DiagnosticHandler

    Implements a DiagnosticHandler which pipes messages to Unity's debug logger.

    Inheritance
    Object
    DiagnosticHandler
    DiagnosticHandler
    Inherited Members
    DiagnosticHandler.Dispose()
    Namespace: USD.NET.Unity
    Syntax
    public class DiagnosticHandler : DiagnosticHandler, IDisposable

    Constructors

    DiagnosticHandler()

    Declaration
    public DiagnosticHandler()

    Methods

    OnError(String)

    Messages sent when an error occured in the USD API, but was not fatal.

    Declaration
    public override void OnError(string msg)
    Parameters
    Type Name Description
    String msg
    Overrides
    DiagnosticHandler.OnError(String)

    OnFatalError(String)

    Messages sent when an unrecoverable fatal error occured in the USD API.

    Declaration
    public override void OnFatalError(string msg)
    Parameters
    Type Name Description
    String msg
    Overrides
    DiagnosticHandler.OnFatalError(String)

    OnInfo(String)

    Informational messages sent from the USD API.

    Declaration
    public override void OnInfo(string msg)
    Parameters
    Type Name Description
    String msg
    Overrides
    DiagnosticHandler.OnInfo(String)

    OnWarning(String)

    Warning messages sent from the USD API upon misuse or unexpected run-time conditions.

    Declaration
    public override void OnWarning(string msg)
    Parameters
    Type Name Description
    String msg
    Overrides
    DiagnosticHandler.OnWarning(String)
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Friday, June 23, 2023