bsky-app/src/logger/debugContext.ts

14 lines
417 B
TypeScript
Raw Normal View History

2023-11-03 22:34:14 +01:00
/**
* *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'
2023-11-04 19:42:36 +01:00
session: 'session',
notifications: 'notifications',
convo: 'convo',
2023-11-03 22:34:14 +01:00
} as const