Skip to content

Commit

Permalink
Add example on how to verify Winston updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Vinnl authored and dependabot[bot] committed Oct 22, 2024
1 parent 078dabe commit a76aeb0
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion docs/dependency-updates.md
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,15 @@ for instructions on running the Pub/Sub emulator locally.

Winston is a logging library that provides structured logging in GCP.

Look for any `logger.*` statement in `./src` and ensure that log messages are being written as [structured logs](https://cloud.google.com/logging/docs/structured-logging).
Look for any `logger.*` statement in `./src` and ensure that log messages are
being written as [structured
logs](https://cloud.google.com/logging/docs/structured-logging).

For example, if you are logged in with a non-Plus user, then visit
http://localhost:6060/user/dashboard/fix/data-broker-profiles/welcome-to-plus,
you should see the following in the server-side logs:

{"level":"error","message":"user_not_subscribed","page":"welcome-to-premium"}

### `@sentry/*`

Expand Down

0 comments on commit a76aeb0

Please sign in to comment.