diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2019-03-06 16:35:59 +0100 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2019-03-06 16:35:59 +0100 |
commit | f40e0a818f131c2d60410c7ad758115a37feb2ef (patch) | |
tree | 24d1d2b5ccd19d8b4eea9d1ad4db33f3dd542446 /processing | |
parent | 56f2d371f788e44fd90514c0f00e82604daee6e2 (diff) |
Allow tracing objects so that we can nest json in trace output.
Diffstat (limited to 'processing')
-rw-r--r-- | processing/src/main/java/com/yahoo/processing/execution/Execution.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/processing/src/main/java/com/yahoo/processing/execution/Execution.java b/processing/src/main/java/com/yahoo/processing/execution/Execution.java index 957e39bf41f..9aff586ef75 100644 --- a/processing/src/main/java/com/yahoo/processing/execution/Execution.java +++ b/processing/src/main/java/com/yahoo/processing/execution/Execution.java @@ -310,6 +310,9 @@ public class Execution { * Adds a trace message to this trace, if this trace has at most the given trace level */ public void trace(String message, int traceLevel) { + trace((Object)message, traceLevel); + } + public void trace(Object message, int traceLevel) { if (this.traceLevel >= traceLevel) { traceNode.add(new TraceNode(message, timestamp(traceLevel, forceTimestamps))); } |