about summary refs log tree commit diff
path: root/src/logger/debugContext.ts
diff options
context:
space:
mode:
authorEric Bailey <git@esb.lol>2023-11-04 13:12:46 -0500
committerGitHub <noreply@github.com>2023-11-04 13:12:46 -0500
commite49a3d8a564b2aa42a8c0e66dfcbae27d096dc26 (patch)
treef3b498168963bc9b945428f16c309670b18602d4 /src/logger/debugContext.ts
parent46c2564e6531712538e44ee6880fb4bfce612ab9 (diff)
parent0c76866757367953cc6e7cc8c9ad9fcfdb00a862 (diff)
downloadvoidsky-e49a3d8a564b2aa42a8c0e66dfcbae27d096dc26.tar.zst
Merge pull request #1813 from bluesky-social/eric/app-903-extract-logger-into-singleton
Add new logger
Diffstat (limited to 'src/logger/debugContext.ts')
-rw-r--r--src/logger/debugContext.ts10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/logger/debugContext.ts b/src/logger/debugContext.ts
new file mode 100644
index 000000000..658f4b18b
--- /dev/null
+++ b/src/logger/debugContext.ts
@@ -0,0 +1,10 @@
+/**
+ * *Do not import this directly.* Instead, use the shortcut reference `logger.DebugContext`.
+ *
+ * Add debug contexts here. Although convention typically calls for enums ito
+ * be capitalized, for parity with the `LOG_DEBUG` env var, please use all
+ * lowercase.
+ */
+export const DebugContext = {
+  // e.g. composer: 'composer'
+} as const