code: func (log *impl) AuditPanic() {
  	if err := recover(); err != nil {
  		buf := make([]byte, 8192)
  		log.AuditErrf("Panic caused by err: %s", err)
  
  		runtime.Stack(buf, false)
  		log.AuditErrf("Stack Trace (Current frame) %s", buf)
  
  		runtime.Stack(buf, true)
  		log.Warningf("Stack Trace (All frames): %s", buf)
  	}
  }
docs: // AuditPanic catches panicking executables. This method should be added
  // in a defer statement as early as possible