GraphLogger
Provides methods for logging messages, warnings, and errors associated with a graph.
阅读时间1 分钟最后更新于 1 个月前
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. |