GraphLogger
Provides methods for logging messages, warnings, and errors associated with a graph.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Class
- Namespace: Unity.GraphToolkit.Editor
- Assembly: UnityEditor
public class GraphLogger
Remarks
GraphLoggerWhen 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.
Methods
Method | Description |
|---|---|
| Log | Logs an informational message. |
| LogError | Logs an error message. |
| LogWarning | Logs a warning message. |