summaryrefslogtreecommitdiffstats
path: root/misc/env/src
diff options
context:
space:
mode:
Diffstat (limited to 'misc/env/src')
-rw-r--r--misc/env/src/main/java/org/onap/aaf/misc/env/impl/BasicEnv.java45
1 files changed, 35 insertions, 10 deletions
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) {