Class DiagnosticHandler
Implements a DiagnosticHandler which pipes messages to Unity's debug logger.
Inherited Members
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
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
OnInfo(String)
Informational messages sent from the USD API.
Declaration
public override void OnInfo(string msg)
Parameters
Type | Name | Description |
---|---|---|
String | msg |
Overrides
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 |