about summary refs log tree commit diff
path: root/src/logger/debugContext.ts
diff options
context:
space:
mode:
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