aboutsummaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/org/anarres/cpp/DefaultPreprocessorListener.java7
-rw-r--r--src/main/java/org/anarres/cpp/Preprocessor.java11
2 files changed, 12 insertions, 6 deletions
diff --git a/src/main/java/org/anarres/cpp/DefaultPreprocessorListener.java b/src/main/java/org/anarres/cpp/DefaultPreprocessorListener.java
index 40a8686..26b8b0e 100644
--- a/src/main/java/org/anarres/cpp/DefaultPreprocessorListener.java
+++ b/src/main/java/org/anarres/cpp/DefaultPreprocessorListener.java
@@ -18,8 +18,9 @@ package org.anarres.cpp;
*/
import javax.annotation.Nonnegative;
import javax.annotation.Nonnull;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
+
+import com.jogamp.gluegen.Logging;
+import com.jogamp.gluegen.Logging.LoggerIf;
/**
* A handler for preprocessor events, primarily errors and warnings.
@@ -30,7 +31,7 @@ import org.slf4j.LoggerFactory;
*/
public class DefaultPreprocessorListener implements PreprocessorListener {
- private static final Logger LOG = LoggerFactory.getLogger(DefaultPreprocessorListener.class);
+ private static final LoggerIf LOG = Logging.getLogger(DefaultPreprocessorListener.class);
private int errors;
private int warnings;
diff --git a/src/main/java/org/anarres/cpp/Preprocessor.java b/src/main/java/org/anarres/cpp/Preprocessor.java
index 27f609f..e6c9055 100644
--- a/src/main/java/org/anarres/cpp/Preprocessor.java
+++ b/src/main/java/org/anarres/cpp/Preprocessor.java
@@ -31,12 +31,17 @@ import java.util.Map;
import java.util.Set;
import java.util.Stack;
import java.util.TreeMap;
+
import javax.annotation.CheckForNull;
import javax.annotation.Nonnull;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
+
import static org.anarres.cpp.PreprocessorCommand.*;
+
import org.anarres.cpp.PreprocessorListener.SourceChangeEvent;
+
+import com.jogamp.gluegen.Logging;
+import com.jogamp.gluegen.Logging.LoggerIf;
+
import static org.anarres.cpp.Token.*;
/**
@@ -76,7 +81,7 @@ import static org.anarres.cpp.Token.*;
*/
public class Preprocessor implements Closeable {
- private static final Logger LOG = LoggerFactory.getLogger(Preprocessor.class);
+ private static final LoggerIf LOG = Logging.getLogger(Preprocessor.class);
private static final Source INTERNAL = new Source() {
@Override