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-03 16:34:14 -0500
committerEric Bailey <git@esb.lol>2023-11-04 12:18:56 -0500
commitfd93bf2146b9c379945d3e315cb53cdb44887c8e (patch)
tree87b73749f8ca9a55bfc6b8041687ff085b2ed22a /src/logger/debugContext.ts
parent445f976881429f54758569de69bc4bce3f88c60b (diff)
downloadvoidsky-fd93bf2146b9c379945d3e315cb53cdb44887c8e.tar.zst
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