Version: Unity 6.4 Alpha (6000.4)
LanguageEnglish
  • C#

GraphLogger

class in Unity.GraphToolkit.Editor

Suggest a change

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.

Close

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.

Close

Cancel

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.