Debug.Log Extensions
Documentation (1.1.9)

◆ LogState() [3/3]

static void Sisus.Debugging.Dev.LogState ( [NotNull] Type  classType,
BindingFlags  flags = DefaultStaticBindingFlags 
)
static

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.

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

Parameters
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.