Print a localized information message if PCGen is debugging. @param message String information message (usually variable) @param params Object information message (usually value)
(final String message, Object... params)
| 185 | * @param params Object information message (usually value) |
| 186 | */ |
| 187 | public static void debugPrintLocalised(final String message, Object... params) |
| 188 | { |
| 189 | Logger l = getLogger(); |
| 190 | if (l.isLoggable(DEBUG)) |
| 191 | { |
| 192 | String msg = LanguageBundle.getFormattedString(message, params); |
| 193 | l.log(DEBUG, msg); |
| 194 | } |
| 195 | } |
| 196 | |
| 197 | /** |
| 198 | * Print the message. Currently quietly discards the Throwable. |
nothing calls this directly
no test coverage detected