Drop-in replacement for traceEvent but is more efficient if user tracing in eventlog is disabled.
Note that this function doesn't evaluate the String if user tracing in eventlog is disabled.
The input should be shorter than 2^{16} bytes. Otherwise the RTS
generates a broken eventlog.