Created
September 30, 2015 05:36
-
-
Save 3846masa/68b6a8defd858a0b01d7 to your computer and use it in GitHub Desktop.
ぼくはJavaScriptが好きです.
This file contains hidden or 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
static class console { | |
static void log(Object... objs) { | |
for (Object obj : objs) { | |
System.out.print(obj.toString()); | |
} | |
System.out.println(); | |
} | |
static void debug(Object... objs) { | |
log(objs); | |
} | |
static void info(Object... objs) { | |
log(objs); | |
} | |
static void error(Object... objs) { | |
for (Object obj : objs) { | |
System.err.print(obj.toString()); | |
} | |
System.err.println(); | |
} | |
static void warn(Object... objs) { | |
error(objs); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment