From 218728980874ca82b07a10fceb26debd6045d2ea Mon Sep 17 00:00:00 2001 From: Instrumental Date: Wed, 12 Dec 2018 17:16:30 -0600 Subject: Further Batch Refactor Issue-ID: AAF-670 Change-Id: Ie68280edb7e9d6c495d3905de61372be895dcf3d Signed-off-by: Instrumental --- cadi/core/src/main/java/org/onap/aaf/cadi/PropAccess.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'cadi/core/src/main') diff --git a/cadi/core/src/main/java/org/onap/aaf/cadi/PropAccess.java b/cadi/core/src/main/java/org/onap/aaf/cadi/PropAccess.java index 97984b03..a9d671cc 100644 --- a/cadi/core/src/main/java/org/onap/aaf/cadi/PropAccess.java +++ b/cadi/core/src/main/java/org/onap/aaf/cadi/PropAccess.java @@ -392,13 +392,16 @@ public class PropAccess implements Access { ps.println(buildMsg(level,elements)); ps.flush(); } - } public void set(LogIt logit) { logIt = logit; } - + + public void setStreamLogIt(PrintStream ps) { + logIt = new StreamLogIt(ps); + } + public String toString() { return props.toString(); } -- cgit 1.2.3-korg