-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: remove slack new chat message #38
Conversation
packages/core/src/plugins/logging.ts
Outdated
@@ -23,3 +25,27 @@ export const loggingPlugin: ApplicationPlugin = { | |||
} | |||
}, | |||
}; | |||
|
|||
export const contextLoggerBuilder = (fieldsToLog: (keyof RequestContext)[]): ApplicationPlugin => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we move it into separate PR, and tweak changset to reflect this?
eb9deaa
to
3cf414c
Compare
import { ApplicationPlugin, MessageResponse } from '@callstack/byorg-core'; | ||
import { logger } from '@callstack/byorg-utils'; | ||
|
||
export const slackThreadNormalizerPlugin: ApplicationPlugin = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add /** xx */ comment to explain the purpose of this plugin. Also update docs to mention in.
Summary
Removes "New chat\n" from slack. Also added super cool "context logger builder" plugin
Test plan
Tested with examples