Skip to content

Commit

Permalink
Add Messaging#isDebugging
Browse files Browse the repository at this point in the history
  • Loading branch information
fullwall committed May 15, 2013
1 parent 9b8f999 commit 0e379a8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/java/net/citizensnpcs/api/util/Messaging.java
Expand Up @@ -37,6 +37,10 @@ public static void debug(Object... msg) {
log(msg);
}

public static boolean isDebugging() {
return DEBUG;
}

private static void log(Level level, Object... msg) {
LOGGER.log(level, "[Citizens] " + SPACE.join(msg));
}
Expand Down

0 comments on commit 0e379a8

Please sign in to comment.