Skip to content
This repository has been archived by the owner on May 31, 2018. It is now read-only.

Latest commit

 

History

History
24 lines (15 loc) · 939 Bytes

README.md

File metadata and controls

24 lines (15 loc) · 939 Bytes

Custom Console Logging with Emoji

Debugging JavaScript can be painful and often means spending hours looking at boring console logs. Inspired by console.frog by Tim Holman, I made my own console logger — but with customizable commands and emojis. Logging to the console is finally fun again, thanks to console.beer 🍺 and console.unicorn 🦄.

Go here to read the blog post and see it in action.

Preview

Example

Simply include console.emoji.js in your project or copy/past/adapt the code.

// Logging to the console
console.unicorn("So magical!");

// Output
🦄  So magical!

License

Published under the MIT license. Inspired by and adapted from console.frog by Tim Holman.