This repository has been archived by the owner. It is now read-only.
🍕 Custom Console Logging with Emoji
Switch branches/tags
Nothing to show
Clone or download
ines Merge pull request #3 from bfred-it/patch-1
Avoid losing the stack context + support non-strings
Latest commit ce2a842 Feb 1, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md Add README.md Jun 20, 2016
console.emoji.js Pre-compile Jan 4, 2018

README.md

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.