Skip to content

Commit

Permalink
chore: unify feature flag loggers
Browse files Browse the repository at this point in the history
  • Loading branch information
codeincontext committed Oct 31, 2024
1 parent f8d9e1c commit 151ce1b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion apps/nextjs/src/lib/feature-flags/bootstrap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import cookie from "cookie";
import type { ReadonlyHeaders } from "next/dist/server/web/spec-extension/adapters/headers";
import invariant from "tiny-invariant";

const log = aiLogger("analytics:feature-flags");
const log = aiLogger("feature-flags");

/**
* We use posthog feature flags to toggle functionality without deploying code changes.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import type { PostHog } from "posthog-node";

const KV_KEY = "posthog-feature-flag-local-evaluation";

const log = aiLogger("analytics:feature-flags");
const log = aiLogger("feature-flags");

const setKv = async (response: Response) => {
const value = await response.text();
Expand Down
1 change: 0 additions & 1 deletion packages/logger/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ type ChildKey =
| "aila:rag"
| "aila:testing"
| "analytics"
| "analytics:feature-flags"
| "app"
| "auth"
| "chat"
Expand Down

0 comments on commit 151ce1b

Please sign in to comment.