Function LogMsg(context :^loggingContexts, msg: String, indentBefore: Integer=0, indentAfter: Integer=0) : Boolean
context: A loggingContext created by CreateLoggingContext
msg: The message to log
indentBefore: How many times to indent the log before logging the message
indentAfter: How many times to indent the log after logging the message
Returns TRUE on success
This function appends msg to the loggingContext's logFile and to the logFile of any child loggingContexts. (detailed example).
Example: