summaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
Diffstat (limited to 'misc')
-rw-r--r--misc/env/.gitignore1
-rw-r--r--misc/env/src/main/java/org/onap/aaf/misc/env/impl/BasicEnv.java45
-rw-r--r--misc/log4j/.gitignore1
-rw-r--r--misc/rosetta/.gitignore1
-rw-r--r--misc/xgen/.gitignore1
5 files changed, 39 insertions, 10 deletions
diff --git a/misc/env/.gitignore b/misc/env/.gitignore
index 6028f0a5..112dedb3 100644
--- a/misc/env/.gitignore
+++ b/misc/env/.gitignore
@@ -2,3 +2,4 @@
/.settings/
/target/
/.project
+/.checkstyle
diff --git a/misc/env/src/main/java/org/onap/aaf/misc/env/impl/BasicEnv.java b/misc/env/src/main/java/org/onap/aaf/misc/env/impl/BasicEnv.java
index e65f4e85..8128856c 100644
--- a/misc/env/src/main/java/org/onap/aaf/misc/env/impl/BasicEnv.java
+++ b/misc/env/src/main/java/org/onap/aaf/misc/env/impl/BasicEnv.java
@@ -102,40 +102,61 @@ public class BasicEnv extends StoreImpl implements EnvJAXB, TransCreate<TransJAX
super(tag, props);
}
-
-
- // @Override
+ @Override
public LogTarget fatal() {
return fatal;
}
- // @Override
+ public void fatal(LogTarget lt) {
+ fatal = lt;
+ }
+
+ @Override
public LogTarget error() {
return error;
}
+ public void error(LogTarget lt) {
+ error = lt;
+ }
- // @Override
+ @Override
public LogTarget audit() {
return audit;
}
- // @Override
+ public void audit(LogTarget lt) {
+ audit = lt;
+ }
+
+ @Override
public LogTarget init() {
return init;
}
- // @Override
+ public void init(LogTarget lt) {
+ init = lt;
+ }
+
+ @Override
public LogTarget warn() {
return warn;
}
- // @Override
+ public void warn(LogTarget lt) {
+ warn = lt;
+ }
+
+ @Override
public LogTarget info() {
return info;
}
- // @Override
+ public void info(LogTarget lt) {
+ info = lt;
+ }
+
+ @Override
public LogTarget debug() {
return debug;
}
@@ -144,11 +165,15 @@ public class BasicEnv extends StoreImpl implements EnvJAXB, TransCreate<TransJAX
debug = lt;
}
- // @Override
+ @Override
public LogTarget trace() {
return trace;
}
+ public void trace(LogTarget lt) {
+ trace = lt;
+ }
+
@Override
public TimeTaken start(String name, int flag, Object ... values) {
return new TimeTaken(name, flag, values) {
diff --git a/misc/log4j/.gitignore b/misc/log4j/.gitignore
index 453974f3..2eb9f899 100644
--- a/misc/log4j/.gitignore
+++ b/misc/log4j/.gitignore
@@ -3,3 +3,4 @@
/.classpath
/logs/
/.project
+/.checkstyle
diff --git a/misc/rosetta/.gitignore b/misc/rosetta/.gitignore
index b373f319..2cb0d891 100644
--- a/misc/rosetta/.gitignore
+++ b/misc/rosetta/.gitignore
@@ -3,3 +3,4 @@
/.settings/
/logs/
/.project
+/.checkstyle
diff --git a/misc/xgen/.gitignore b/misc/xgen/.gitignore
index 75472cfd..f9f0c1b0 100644
--- a/misc/xgen/.gitignore
+++ b/misc/xgen/.gitignore
@@ -2,3 +2,4 @@
/.classpath
/.settings/
/.project
+/.checkstyle