Debug.Log Extensions
Documentation (1.1.9)

◆ LogAssertion()

static void Debug.LogAssertion ( object  message,
Object  context = null 

Logs an assertion message to the Console.

Calls to this method will be stripped from release builds unless the UNITY_ASSERTIONS symbol is defined.

messagestring or object to be converted to string representation for display.
contextObject to which the message applies.

If you pass a context argument that Object will be momentarily highlighted in the Hierarchy window when you click the log message in the Console.