MCPcopy Create free account
hub / github.com/PCGen/pcgen / debugPrintLocalised

Method debugPrintLocalised

code/src/java/pcgen/util/Logging.java:187–195  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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.

Callers

nothing calls this directly

Calls 4

getLoggerMethod · 0.95
getFormattedStringMethod · 0.95
isLoggableMethod · 0.80
logMethod · 0.45

Tested by

no test coverage detected