Mercurial > hg > truffle
changeset 5165:1c7dd9bb16f9
documentation to show the relationship between DebugConfig and Debug
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Wed, 28 Mar 2012 14:22:25 +0200 |
parents | 56909bcec047 |
children | 7f9010a55761 |
files | graal/com.oracle.graal.debug/src/com/oracle/graal/debug/DebugConfig.java |
diffstat | 1 files changed, 17 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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<? extends DebugDumpHandler> dumpHandlers(); }