https://github.com/ines/console-dot-emoji
:pizza: Custom Console Logging with Emoji
https://github.com/ines/console-dot-emoji
emoji javascript javascript-console
Last synced: about 2 months ago
JSON representation
:pizza: Custom Console Logging with Emoji
- Host: GitHub
- URL: https://github.com/ines/console-dot-emoji
- Owner: ines
- Archived: true
- Created: 2016-06-20T16:49:07.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2018-02-01T08:33:46.000Z (over 7 years ago)
- Last Synced: 2024-05-22T20:33:17.954Z (about 1 year ago)
- Topics: emoji, javascript, javascript-console
- Language: JavaScript
- Homepage:
- Size: 3.91 KB
- Stars: 251
- Watchers: 5
- Forks: 15
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Custom Console Logging with Emoji
Debugging JavaScript can be painful and often means spending hours looking at boring console logs. Inspired by [console.frog](http://tholman.com/console-dot-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` :beer: and `console.unicorn` 🦄.
[Go here](https://ines.io/blog/custom-console-logging-emoji) to read the blog post and see it in action.

# Example
Simply include `console.emoji.js` in your project or copy/past/adapt the code.
```javascript
// Logging to the console
console.unicorn("So magical!");// Output
🦄 So magical!
```# License
Published under the MIT license.
Inspired by and adapted from [console.frog](https://github.com/tholman/console-dot-frog) by [Tim Holman](http://tholman.com).