API Reference
-
LogString(string format, params object[] paramList)
Output custom text. Example:Logger.LogString("This object's name is: {0}", name);
orLogger.LogString("some text");
-
LogString(object objectreference, string format, params object[] paramList)
Output custom text and display object GUID. Example:Logger.LogString(this, "This object's name is: {0}", name);
-
LogCall()
Output name of the method from which the LogCall method was called. -
LogCall(object objectReference)
Output name of the method from which the LogCall method was called and display object GUID. -
LogResult(object result)
Display argument value prefixed with the string [RESULT]. Example:LogResult(someVariable);
. -
LogResult(object objectReference, object result, )
Display argument value prefixed with the string [RESULT] and display object GUID. Example:LogResult(this, someVariable);
. -
StartLogging()
Enable logger. Log methods will produce output only when logger is enabled. -
StopLogging()
Disable logger. When logger is disabled, no messages will be logged. -
ClearLogFile()
Clear log file.