TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: A gem to log when code gets run

3 pointsby heynkover 10 years ago

1 comment

heynkover 10 years ago
I remember a thread on HN some time ago where people discussed the various log messages they&#x27;d write when debugging to see if code was executing properly. I usually just write things like `puts &quot;here&quot;` and it sounded like a lot of other people would write similarly mundane things or just smash their keyboard.<p>I made this gem so all I have to call is `aqui` and a more contextual log message is displayed. Screenshot:<p><a href="https://camo.githubusercontent.com/a492d7dc95ebf1c248c7537b7c32bfaf550eba60/687474703a2f2f692e696d6775722e636f6d2f4d31554c44394f2e706e67" rel="nofollow">https:&#x2F;&#x2F;camo.githubusercontent.com&#x2F;a492d7dc95ebf1c248c7537b7...</a>