-
-
Save conanak99/9eb9b4a471dc1de514df to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function log(level, time, message) { | |
console.log(level + ' - ' + time + ': ' + message); | |
} | |
function logErrToday(message) { | |
log("Error", "Today", message); | |
} | |
logErrToday("Server die."); // Error - Today: Server die. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment