Debug.Log Extensions
Documentation (1.1.9)

◆ LogState() [3/3]

static void Debug.LogState ( [NotNull] Type  classType,
BindingFlags  flags = DefaultStaticBindingFlags 

Logs to the Console the name and value of every static field and property of classType matched using the specified flags .

With a small number of listed members a comma will be used to separate them, and with a larger number of members a line break will be used.

classTypeType of the class whose members are to be listed.
flagsBindingFlags used when searching for the members.

By default only public and non-inherited static members are listed.