Skip to content

Instantly share code, notes, and snippets.

@theosp
Created May 12, 2014 06:45
Show Gist options
  • Save theosp/863ff482cc9037a129c3 to your computer and use it in GitHub Desktop.
Save theosp/863ff482cc9037a129c3 to your computer and use it in GitHub Desktop.
Log meteor output both to stdout and to the syslog
var log = function (message) {
console.log(message);
Npm.require('child_process').exec("logger " + message);
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment