Skip to content

Instantly share code, notes, and snippets.

@3846masa
Created September 30, 2015 05:36
Show Gist options
  • Save 3846masa/68b6a8defd858a0b01d7 to your computer and use it in GitHub Desktop.
Save 3846masa/68b6a8defd858a0b01d7 to your computer and use it in GitHub Desktop.
ぼくはJavaScriptが好きです.
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