Unity - Scripting API: Unity.GraphToolkit.Editor.GraphLogger.Log
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.
Declaration
public void Log(Object message, Object context);
Parameters
| Parameter | Description |
|---|---|
| message | The message to display. |
| context | Optional context object to associate with the message. The context is typically a node in the graph that the message relates to. |
Description
Logs an informational message.
When a is provided, the system displays an info marker next to the specified object in the graph editor. The message also appears in the Unity Console. If no context is given, the message is logged to the console only. Use for communicating non-critical information.