Picture of Michael Lee
:wave: Hey hey, I'm Michael Lee and this is my site about being a developer, being a dad and making side projects.

Ember.js log helper

Written on March 23, 2017

I’ve been developing with Ember.js for about 3 years now and can confidently claim that I’m still a newb. While watching a video on Ember Screencasts the other day, I noticed a template helper being used called log. The log helper can be used in a template file (.hbs) to log a property in your browser’s console.

{{log someProperty}}

This is much more helpful then what I’ve been doing, which was setting up things like observers on a property to log them on the browser’s console. Definitely using the log helper has improved my workflow, if you’ve never used the log helper like I have, I highly recommend checking it out.

Thanks for taking the time to read this article. I'd love to stay in touch and share more tips on programming and design and side projects. Sign up and I'll send you my articles straight to your email.