Syntax - Tasty Web Development Treats cover image

Logging

Syntax - Tasty Web Development Treats

How to Log a Turtle a Rabbit or a Rocket Ship

2min Snip

00:00
Play full episode
I do a little emoji based on how what long or short the total response time was so I start counting when the request comes in and then I stop counting when the response is going out just via middleware. If that time is really fast you get a rocket ship if it's um shorter you get a bunny rabbit and if it's really long then you get a turtle. So not just uh log in attempted but log in attempted with user email address obviously don't put passwords in in your logging. You certainly start to step into areas of GDPR and and all these rules around private information and tracking all whatnotSo make sure you are up to date with all of that as well as scrub

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode