@apet97/clockify115-sdk - v0.1.0
    Preparing search index...

    Interface OtelLikeSpan

    interface OtelLikeSpan {
        setAttribute(key: string, value: string | number | boolean): this;
        setStatus(status: { code: 1 | 2; message?: string }): this;
        recordException(exception: Error): this;
        end(): void;
    }
    Index
    • Parameters

      • key: string
      • value: string | number | boolean

      Returns this

    • Parameters

      • status: { code: 1 | 2; message?: string }

      Returns this

    • Parameters

      • exception: Error

      Returns this