Skip to content
Source
Sign inSign up
TanStack/schemas
Open History to see the last commit

posthog-logger.ts

11 lines253 Bytes

1import type { PostHog } from 'posthog-js'
2​
3export const posthogIntegrationLogger = {
4 info(
5 posthog: PostHog,
6 body: string,
7 attributes: Record<string, boolean | number | string>,
8 ): void {
9 posthog.logger.info(body, attributes)
10 },