diff --git a/bindings/java/src/net/hyperic/sigar/SigarLog.java b/bindings/java/src/net/hyperic/sigar/SigarLog.java index b01471f6..ddac12ac 100644 --- a/bindings/java/src/net/hyperic/sigar/SigarLog.java +++ b/bindings/java/src/net/hyperic/sigar/SigarLog.java @@ -37,6 +37,10 @@ public class SigarLog { getLogger().error(msg, exc); } + static void debug(String msg, Throwable exc) { + getLogger().debug(msg, exc); + } + //XXX want to make this automatic, but also dont always //want to turn on logging, since most sigar logging will be DEBUG public static void enable(Sigar sigar) {