Debug.Log Extensions
Documentation (1.1.9)

◆ LogError() [8/8]

static void Sisus.Debugging.Dev.LogError ( [NotNull] Expression< Func< object >>  classMember,
Object  context = null 
)
static

Logs a warning message to the Console consisting of the name and value of classMember a class member.

Calls to this method will be fully stripped from release builds.

public void SetActivePage(Page value)
{
activePage = value;
Debug.LogError(()=>activePage, this);
}
static void LogError([CanBeNull]string message)
Logs an error message to the Console.
Definition: Debug.cs:2527
Extended version of the built-in Debug class with additional methods to ease debugging while developi...
Definition: Debug.cs:34
Parameters
classMemberExpression pointing to a class member whose name and value will be logged.
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.