Debug.Log Extensions
Documentation (1.1.9)

◆ LogWarning() [13/16]

static void Debug.LogWarning ( int  channel1,
int  channel2,
[NotNull] Expression< Func< object >>  classMember,
Object  context = null 

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

public void SetActivePage(Page value) { activePage = value; Debug.LogWarning(()=>activePage, this); }

channel1The first channel to which the message belongs.
channel2The second channel to which the message belongs.
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.