Unity - Scripting API: GraphLogger
class in Unity.GraphToolkit.Editor
Success!
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
Submission failed
For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
Description
Provides methods for logging messages, warnings, and errors associated with a graph.
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.
Public Methods
| Method | Description |
|---|---|
| Log | Logs an informational message. |
| LogError | Logs an error message. |
| LogWarning | Logs a warning message. |