# HG changeset patch # User Doug Simon # Date 1332937345 -7200 # Node ID 1c7dd9bb16f90b62a0466d4d7987eea70b3fa59c # Parent 56909bcec0475009e4cbe232a906026acc7be2bf documentation to show the relationship between DebugConfig and Debug diff -r 56909bcec047 -r 1c7dd9bb16f9 graal/com.oracle.graal.debug/src/com/oracle/graal/debug/DebugConfig.java --- a/graal/com.oracle.graal.debug/src/com/oracle/graal/debug/DebugConfig.java Wed Mar 28 14:21:05 2012 +0200 +++ b/graal/com.oracle.graal.debug/src/com/oracle/graal/debug/DebugConfig.java Wed Mar 28 14:22:25 2012 +0200 @@ -26,10 +26,27 @@ public interface DebugConfig { + /** + * @see Debug#log(String, Object...) + */ boolean isLogEnabled(); + + /** + * @see Debug#metric(String) + */ boolean isMeterEnabled(); + + /** + * @see Debug#dump(Object, String, Object...) + */ boolean isDumpEnabled(); + + /** + * @see Debug#timer(String) + */ boolean isTimeEnabled(); + RuntimeException interceptException(Throwable e); + Collection dumpHandlers(); }