summaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/com/jogamp/gluegen
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2015-03-08 00:07:29 +0100
committerSven Gothel <[email protected]>2015-03-08 00:07:29 +0100
commite3385993b4133f88fd1b8e335438f5f2cd305555 (patch)
tree524c0b6e9a58fb671e697d83299e4f5c3f775737 /src/jogl/classes/com/jogamp/gluegen
parente6295a88f3e0173a2d2ab7fa091460ceee0b61e7 (diff)
Bug 1134 - Use ASTLocationTag in Logging
Adapt to GlueGen commit da909f84dc8421052c92491baa7dd90e1c78dc8f
Diffstat (limited to 'src/jogl/classes/com/jogamp/gluegen')
-rw-r--r--src/jogl/classes/com/jogamp/gluegen/opengl/GLConfiguration.java10
-rw-r--r--src/jogl/classes/com/jogamp/gluegen/opengl/GLEmitter.java2
2 files changed, 6 insertions, 6 deletions
diff --git a/src/jogl/classes/com/jogamp/gluegen/opengl/GLConfiguration.java b/src/jogl/classes/com/jogamp/gluegen/opengl/GLConfiguration.java
index f8655feea..922a91531 100644
--- a/src/jogl/classes/com/jogamp/gluegen/opengl/GLConfiguration.java
+++ b/src/jogl/classes/com/jogamp/gluegen/opengl/GLConfiguration.java
@@ -290,9 +290,9 @@ public class GLConfiguration extends ProcAddressConfiguration {
}
}
if( ignoreExtension ) {
- LOG.log(INFO, "Ignored symbol {0} of all extensions <{1}>", symbol.getAliasedString(), symExtensionNames);
+ LOG.log(INFO, getASTLocusTag(symbol), "Ignored symbol {0} of all extensions <{1}>", symbol.getAliasedString(), symExtensionNames);
} else if( ignoredSymExtensionNames.size() > 0 ) {
- LOG.log(INFO, "Not ignored symbol {0}; Ignored in <{1}>, but active in <{2}>",
+ LOG.log(INFO, getASTLocusTag(symbol), "Not ignored symbol {0}; Ignored in <{1}>, but active in <{2}>",
symbol.getAliasedString(), ignoredSymExtensionNames, notIgnoredSymExtensionNames);
}
}
@@ -306,14 +306,14 @@ public class GLConfiguration extends ProcAddressConfiguration {
if (GLNameResolver.isExtensionVEN(name, isGLFunc)) {
extSuffix = GLNameResolver.getExtensionSuffix(name, isGLFunc);
if (getDropUniqVendorExtensions(extSuffix)) {
- LOG.log(INFO, "Ignore UniqVendorEXT: {0}, vendor {1}, isGLFunc {2}, isGLEnum {3}",
+ LOG.log(INFO, getASTLocusTag(symbol), "Ignore UniqVendorEXT: {0}, vendor {1}, isGLFunc {2}, isGLEnum {3}",
symbol.getAliasedString(), extSuffix, isGLFunc, isGLEnum);
ignoreExtension = true;
}
}
}
if (!ignoreExtension) {
- LOG.log(INFO, "Not ignored UniqVendorEXT: {0}, vendor {1}, isGLFunc {2}, isGLEnum {3}",
+ LOG.log(INFO, getASTLocusTag(symbol), "Not ignored UniqVendorEXT: {0}, vendor {1}, isGLFunc {2}, isGLEnum {3}",
symbol.getAliasedString(), extSuffix, isGLFunc, isGLEnum);
}
}
@@ -326,7 +326,7 @@ public class GLConfiguration extends ProcAddressConfiguration {
for(final Iterator<String> i=symExtensionNames.iterator(); i.hasNext(); ) {
final String extensionName = i.next();
if ( extensionName != null && forcedExtensions.contains(extensionName) ) {
- LOG.log(INFO, "Not ignored symbol {0} of extension <{1}>",
+ LOG.log(INFO, getASTLocusTag(symbol), "Not ignored symbol {0} of extension <{1}>",
symbol.getAliasedString(), extensionName);
return true;
}
diff --git a/src/jogl/classes/com/jogamp/gluegen/opengl/GLEmitter.java b/src/jogl/classes/com/jogamp/gluegen/opengl/GLEmitter.java
index ccac4cf6b..388f06150 100644
--- a/src/jogl/classes/com/jogamp/gluegen/opengl/GLEmitter.java
+++ b/src/jogl/classes/com/jogamp/gluegen/opengl/GLEmitter.java
@@ -383,7 +383,7 @@ public class GLEmitter extends ProcAddressEmitter {
// #endif
final StringBuilder sb = new StringBuilder();
JavaEmitter.addStrings2Buffer(sb, ", ", symbolRenamed, def.getAliasedNames());
- LOG.log(INFO, "Dropping marker: {0}", sb.toString());
+ LOG.log(INFO, def.getASTLocusTag(), "Dropping marker: {0}", sb.toString());
return;
}
}