Generates a trace event using the given tag (string literals only).
Type is equivalence is determined using kObject_Is.
kTrace statements are omitted if K_NO_TRACE is defined.