arvo-core
    Preparing search index...

    Function logToSpan

    • Logs a message to a span with additional parameters.

      Parameters

      • params: { level: TelemetryLogLevel; message: string; [key: string]: string }

        The parameters for the log message.

      • span: Span | undefined = ...

        The span to log the message to. If not provided, the active span is used. If no active span is available, the message is logged to the console.

      Returns void