summaryrefslogtreecommitdiffstats
path: root/src/java/com/sun/gluegen/GlueGen.java
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2010-03-31 16:08:54 +0200
committerMichael Bien <[email protected]>2010-03-31 16:08:54 +0200
commit2fe517b9a2e1a680b50c7e1273897495800c5350 (patch)
treec39ed5cbb48d49a34f024437e5dbfe76ff29c447 /src/java/com/sun/gluegen/GlueGen.java
parentf76e3bb1cff43d35b6884c17418ea20cd4ed5e22 (diff)
implemented better logging using java.util.logging.
Diffstat (limited to 'src/java/com/sun/gluegen/GlueGen.java')
-rw-r--r--src/java/com/sun/gluegen/GlueGen.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/java/com/sun/gluegen/GlueGen.java b/src/java/com/sun/gluegen/GlueGen.java
index 8d2144a..aac5319 100644
--- a/src/java/com/sun/gluegen/GlueGen.java
+++ b/src/java/com/sun/gluegen/GlueGen.java
@@ -51,6 +51,10 @@ import static java.lang.System.*;
/** Glue code generator for C functions and data structures. */
public class GlueGen implements GlueEmitterControls {
+ static{
+ Logging.init();
+ }
+
private List<String> forcedStructNames = new ArrayList<String>();
private PCPP preprocessor;