You've got a debug message. We've got ASCII art. Of Kenny Loggins. It's almost too perfect.
Download the console.loggins.js
source file and include it as a script in your project:
<script src="/path/to/console.loggins.js"> /* Buckle in... */ </script>
In your custom JavaScript, issue console.loggins('Any old string');
and Kenny Loggins will sing your message back to you in the console.
[This is literally my life's crowning achievement —Ed.]
Sure, why not.
require('console.loggins');
console.loggins('This is it! Make no mistake where you are');
Should I use console.loggins in production?
No. That's a terrible idea.
What's the browser support like?
Let's say “modern browsers” and hope that covers it?
How big is console.loggins gzipped?
Who cares? Come on people, it's a joke.
Why not drop me a line @mattwondra so I can help myself believe that this novelty JavaScript plugin wasn't a complete waste of my time.