Picture of Michael Lee
:wave: Hey hey, I'm @michaelsoolee! I'm a full-stack developer, maker of one too many side projects and dad.

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.

Stay in touch

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