Skip to content

Instantly share code, notes, and snippets.

View kevinfjbecker's full-sized avatar
🦄
not doing the things that nobody had ever thought of not doing

Kevin Becker kevinfjbecker

🦄
not doing the things that nobody had ever thought of not doing
View GitHub Profile
@stinoga
stinoga / console.js
Created December 27, 2014 22:18
Save console output to a file
(function(console){
console.save = function(data, filename){
if(!data) {
console.error('Console.save: No data')
return;
}
if(!filename) filename = 'console.json'