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

GraphLogger.Log

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

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.