Explicitly creates a log record associated with the Span.
void log(String event, {Object? payload, DateTime? timestamp});