UnindentLog

Function UnindentLog(context :^loggingContexts, indent: Integer=1) : Boolean

context: A loggingContext created by CreateLoggingContext

indent: How many times to unindent

Returns TRUE on success

Use this to make log files more readable.

This function is the equivalent of calling IndentLog with a negative value for indent. For example, IndentLog(context, -1)

Example:

Program
   Uses

       hlog

Var
   verboseLog: ^loggingContexts
   debugLog: ^loggingContexts
   errorLog: ^loggingContexts
   
Begin
   verboseLog = CreateLoggingContext("verbose.log", FALSE)
   debugLog = CreateLoggingContext("debug.log", TRUE)
   errorLog = CreateLoggingContext("error.log", TRUE)
   
   LogMsg(errorLog, "Start")
   IndentLog(errorLog)
       LogMsg(errorLog, "Something Terrible Happened")
   UnindentLog(errorLog)
   LogMsg(errorLog, "End")
   
   MessageBox("Done")
End