Skip to content
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

Feat/improve logger #633

Merged
merged 9 commits into from
Aug 27, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update sentry.spec.ts
  • Loading branch information
o-cappasity authored and AVVS committed Aug 26, 2022
commit fc8dc15aed8eb7e018d4c188bd6f332fe7abe768
4 changes: 2 additions & 2 deletions packages/plugin-logger/src/logger/streams/sentry.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ describe('Logger Sentry Stream Suite', () => {

const logger = pino({ level: 'debug' }, pinoms)

logger.warn({ userId: 123 }, 'Warning message')
logger.warn({ userId: 123, tags: { testTag: 'test' } }, 'Warning message')
logger.flush()

await Sentry.flush()
Expand All @@ -79,7 +79,7 @@ describe('Logger Sentry Stream Suite', () => {
_breadcrumbs: [],
_attachments: [],
_user: {},
_tags: {},
_tags: { testTag: 'test' },
_extra: {},
_contexts: {},
_sdkProcessingMetadata: {},
Expand Down