Converts function arguments into a standardized SpanInput format for tracing.
This function processes variable arguments and determines the appropriate MIME type
based on the input. Single string arguments are preserved as text, while other
types are JSON stringified.
Parameters
...args: unknown[]
The function arguments to process into span input format
Converts function arguments into a standardized SpanInput format for tracing.
This function processes variable arguments and determines the appropriate MIME type based on the input. Single string arguments are preserved as text, while other types are JSON stringified.