private showLoggerLink()

in packages/sdk/src/Confidence.ts [332:344]


  private showLoggerLink(flag: string, context: Context) {
    const data = {
      clientKey: this.config.clientSecret,
      flag: `flags/${flag}`,
      context,
    };
    const jsonString = JSON.stringify(data);
    const base64 =
      typeof window !== 'undefined' ? utf8ToBase64(jsonString) : Buffer.from(jsonString).toString('base64');
    this.config.logger.info?.(
      `Check your flag evaluation for '${flag}' by copy-pasting the payload to the Resolve tester: ${base64}`,
    );
  }