diff options
author | Sven Gothel <[email protected]> | 2015-03-06 07:34:58 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2015-03-06 07:34:58 +0100 |
commit | 54dcf4271abf188585b248473cab11b0b4d93854 (patch) | |
tree | 6ad311c0b5e8b302b431d8798b5b653c29983935 /src/java/com/jogamp/gluegen/CMethodBindingEmitter.java | |
parent | 8eb9e27bccca4a0cd6a0b1b15bee76576ce030c3 (diff) |
Bug 1134 - Refine Logging using 'LoggerIf' - Replace System.err w/ Logging where appropriate
Diffstat (limited to 'src/java/com/jogamp/gluegen/CMethodBindingEmitter.java')
-rw-r--r-- | src/java/com/jogamp/gluegen/CMethodBindingEmitter.java | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/java/com/jogamp/gluegen/CMethodBindingEmitter.java b/src/java/com/jogamp/gluegen/CMethodBindingEmitter.java index 1b1f2fa..47b2811 100644 --- a/src/java/com/jogamp/gluegen/CMethodBindingEmitter.java +++ b/src/java/com/jogamp/gluegen/CMethodBindingEmitter.java @@ -44,10 +44,9 @@ import java.io.*; import java.text.MessageFormat; import com.jogamp.common.os.MachineDataInfo; +import com.jogamp.gluegen.Logging.LoggerIf; import com.jogamp.gluegen.cgram.types.*; -import java.util.logging.Logger; - /** Emits the C-side component of the Java<->C JNI binding. */ public class CMethodBindingEmitter extends FunctionEmitter { @@ -57,7 +56,7 @@ public class CMethodBindingEmitter extends FunctionEmitter { protected static final String arrayRes = "_array_res"; protected static final String arrayIdx = "_array_idx"; - protected final Logger LOG; + protected final LoggerIf LOG; protected MethodBinding binding; @@ -129,7 +128,7 @@ public class CMethodBindingEmitter extends FunctionEmitter { final JavaConfiguration configuration) { super(output, false, configuration); - LOG = Logging.getLogger(CMethodBindingEmitter.class.getPackage().getName()); + LOG = Logging.getLogger(CMethodBindingEmitter.class.getPackage().getName(), CMethodBindingEmitter.class.getSimpleName()); assert(binding != null); assert(javaClassName != null); |