returns the current state of of exception logging. Uses the same strings as required by the Set Logging verb.
log mode
write log "current log mode is: " & log mode