UNPKG

hypertune

Version:

[Hypertune](https://www.hypertune.com/) is the most flexible platform for feature flags, A/B testing, analytics and app configuration. Built with full end-to-end type-safety, Git-style version control and local, synchronous, in-memory flag evaluation. Opt

12 lines (10 loc) 255 B
import { sdkVersion } from ".."; export default function getLocalLogArguments( message: string, metadata: object ): any[] { return [ `[Hypertune] [v${sdkVersion}] ${message}`, ...(Object.keys(metadata).length > 0 ? [metadata] : []), ]; }