ドキュメント

Unity Engine

Unity Engine

GraphLogger

Provides methods for logging messages, warnings, and errors associated with a graph. Also tracks what changed in the graph during the current callback.
読み終わるまでの所要時間 1 分最終更新 2ヶ月前

Definition

public class GraphLogger

Remarks

GraphLogger
integrates with the Unity Console to display logs relevant to graph operations.
When a context is provided, the message is also visually represented in the graph editor using appropriate markers (error, warning, or info).
Console messages are only shown if the graph editor for the corresponding graph is currently open. If the editor is closed, the logs will not appear in the Unity Console.
The logger also provides read-only access to what changed in the graph via GraphLogger.GraphChanges.

Properties

Property

Description

GraphChangesThe set of changes recorded on the graph during the current Graph.OnGraphChanged callback.

Methods

Method

Description

LogLogs an informational message.
LogErrorLogs an error message.
LogWarningLogs a warning message.