aboutsummaryrefslogtreecommitdiffstats
path: root/plugin/icedteanp/java/sun/applet/PluginDebug.java
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/icedteanp/java/sun/applet/PluginDebug.java')
-rw-r--r--plugin/icedteanp/java/sun/applet/PluginDebug.java9
1 files changed, 6 insertions, 3 deletions
diff --git a/plugin/icedteanp/java/sun/applet/PluginDebug.java b/plugin/icedteanp/java/sun/applet/PluginDebug.java
index 29c7c1c..4cbbe53 100644
--- a/plugin/icedteanp/java/sun/applet/PluginDebug.java
+++ b/plugin/icedteanp/java/sun/applet/PluginDebug.java
@@ -41,8 +41,11 @@ public class PluginDebug {
static final boolean DEBUG = System.getenv().containsKey("ICEDTEAPLUGIN_DEBUG");
- public static void debug(String message) {
- if (DEBUG)
- System.err.println(message);
+ public static void debug(Object... messageChunks) {
+ if (DEBUG) {
+ for (Object chunk : messageChunks) {
+ System.err.println(chunk.toString());
+ }
+ }
}
}