Function CreateLoggingContext(logFile: String, realtime: Boolean, enabled: Boolean=TRUE) :^loggingContexts
logFile: The file that this logging context will write to
realtime: TRUE for realtime logging, FALSE for buffered (see a guide to hlog)
Creates and returns a handle for a new logging context. If the logFile already exists, the logFile is deleted at this point.
Example: