protected String toStringFields(int indentLevel) { String sep = getFieldSeparator(indentLevel); String s = sep + "clientId = " + (Log.isExcludedProperty("clientId") ? Log.VALUE_SUPRESSED : clientId); s += sep + "correlationId = " + (Log.isExcludedProperty("correlationId") ? Log.VALUE_SUPRESSED : correlationId); s += sep + "destination = " + (Log.isExcludedProperty("destination") ? Log.VALUE_SUPRESSED : destination); s += sep + "messageId = " + (Log.isExcludedProperty("messageId") ? Log.VALUE_SUPRESSED : messageId); s += sep + "timestamp = " + (Log.isExcludedProperty("timestamp") ? Log.VALUE_SUPRESSED : String.valueOf(timestamp)); s += sep + "timeToLive = " + (Log.isExcludedProperty("timeToLive") ? Log.VALUE_SUPRESSED : String.valueOf(timeToLive)); s += sep + "body = " + (Log.isExcludedProperty("body") ? Log.VALUE_SUPRESSED : bodyToString(body, indentLevel)); s += super.toStringFields(indentLevel); return s; }
@Override protected String toStringFields(int indentLevel) { String sep = getFieldSeparator(indentLevel); String s = sep + "clientId = " + (Log.isExcludedProperty("clientId") ? Log.VALUE_SUPRESSED : clientId); s += sep + "correlationId = " + (Log.isExcludedProperty("correlationId") ? Log.VALUE_SUPRESSED : correlationId); s += sep + "destination = " + (Log.isExcludedProperty("destination") ? Log.VALUE_SUPRESSED : destination); s += sep + "messageId = " + (Log.isExcludedProperty("messageId") ? Log.VALUE_SUPRESSED : messageId); s += sep + "timestamp = " + (Log.isExcludedProperty("timestamp") ? Log.VALUE_SUPRESSED : String.valueOf(timestamp)); s += sep + "timeToLive = " + (Log.isExcludedProperty("timeToLive") ? Log.VALUE_SUPRESSED : String.valueOf(timeToLive)); s += sep + "body = " + (Log.isExcludedProperty("body") ? Log.VALUE_SUPRESSED : bodyToString(body, indentLevel)); s += super.toStringFields(indentLevel); return s; }
protected String toStringFields(int indentLevel) { String sp = super.toStringFields(indentLevel); String sep = getFieldSeparator(indentLevel); String s = sep + "clientId = " + (Log.isExcludedProperty("clientId") ? Log.VALUE_SUPRESSED : clientId); s += sep + "destination = " + (Log.isExcludedProperty("destination") ? Log.VALUE_SUPRESSED : destination); s += sep + "messageId = " + (Log.isExcludedProperty("messageId") ? Log.VALUE_SUPRESSED : messageId); s += sep + "timestamp = " + (Log.isExcludedProperty("timestamp") ? Log.VALUE_SUPRESSED : String.valueOf(timestamp)); s += sep + "timeToLive = " + (Log.isExcludedProperty("timeToLive") ? Log.VALUE_SUPRESSED : String.valueOf(timeToLive)); s += sep + "body = " + (Log.isExcludedProperty("clientId") ? Log.VALUE_SUPRESSED : bodyToString(body, indentLevel) + sp); return s; }
@Override protected String toStringFields(int indentLevel) { String sep = getFieldSeparator(indentLevel); String s = sep + "clientId = " + (Log.isExcludedProperty("clientId") ? Log.VALUE_SUPRESSED : clientId); s += sep + "correlationId = " + (Log.isExcludedProperty("correlationId") ? Log.VALUE_SUPRESSED : correlationId); s += sep + "destination = " + (Log.isExcludedProperty("destination") ? Log.VALUE_SUPRESSED : destination); s += sep + "messageId = " + (Log.isExcludedProperty("messageId") ? Log.VALUE_SUPRESSED : messageId); s += sep + "timestamp = " + (Log.isExcludedProperty("timestamp") ? Log.VALUE_SUPRESSED : String.valueOf(timestamp)); s += sep + "timeToLive = " + (Log.isExcludedProperty("timeToLive") ? Log.VALUE_SUPRESSED : String.valueOf(timeToLive)); s += sep + "body = " + (Log.isExcludedProperty("body") ? Log.VALUE_SUPRESSED : bodyToString(body, indentLevel)); s += super.toStringFields(indentLevel); return s; }
protected String toStringFields(int indentLevel) { String sp = super.toStringFields(indentLevel); String sep = getFieldSeparator(indentLevel); StringBuilder sb = new StringBuilder(); sb.append(sep).append("clientId = ").append(Log.isExcludedProperty("clientId") ? Log.VALUE_SUPRESSED : clientId); sb.append(sep).append("destination = ").append(Log.isExcludedProperty("destination") ? Log.VALUE_SUPRESSED : destination); sb.append(sep).append("messageId = ").append(Log.isExcludedProperty("messageId") ? Log.VALUE_SUPRESSED : messageId); sb.append(sep).append("timestamp = ").append(Log.isExcludedProperty("timestamp") ? Log.VALUE_SUPRESSED : String.valueOf(timestamp)); sb.append(sep).append("timeToLive = ").append(Log.isExcludedProperty("timeToLive") ? Log.VALUE_SUPRESSED : String.valueOf(timeToLive)); sb.append(sep).append("body = ").append(Log.isExcludedProperty("body") ? Log.VALUE_SUPRESSED : bodyToString(getBody(), indentLevel) + sp); return sb.toString(); }
public void namedElement(String name) { if (Log.isExcludedProperty(name)) { nextElementExclude = true; } buffer.append(indentString()).append(name).append(" = "); }
public void namedElement(String name) { if (Log.isExcludedProperty(name)) { nextElementExclude = true; } buffer.append(indentString()).append(name).append(" = "); }
protected String toStringFields(int indentLevel) { String sp = super.toStringFields(indentLevel); String sep = getFieldSeparator(indentLevel); StringBuilder sb = new StringBuilder(); sb.append(sep).append("clientId = ").append(Log.isExcludedProperty("clientId") ? Log.VALUE_SUPRESSED : clientId); sb.append(sep).append("destination = ").append(Log.isExcludedProperty("destination") ? Log.VALUE_SUPRESSED : destination); sb.append(sep).append("messageId = ").append(Log.isExcludedProperty("messageId") ? Log.VALUE_SUPRESSED : messageId); sb.append(sep).append("timestamp = ").append(Log.isExcludedProperty("timestamp") ? Log.VALUE_SUPRESSED : String.valueOf(timestamp)); sb.append(sep).append("timeToLive = ").append(Log.isExcludedProperty("timeToLive") ? Log.VALUE_SUPRESSED : String.valueOf(timeToLive)); sb.append(sep).append("body = ").append(Log.isExcludedProperty("body") ? Log.VALUE_SUPRESSED : bodyToString(getBody(), indentLevel) + sp); return sb.toString(); }
public void namedElement(String name) { if (Log.isExcludedProperty(name)) { nextElementExclude = true; } buffer.append(indentString()).append(name).append(" = "); }
protected String toStringFields(int indentLevel) { if (headers != null) { String sep = getFieldSeparator(indentLevel); StringBuilder sb = new StringBuilder(); for (Iterator i = headers.entrySet().iterator(); i.hasNext();) { Map.Entry e = (Map.Entry) i.next(); String key = e.getKey().toString(); sb.append(sep).append("hdr(").append(key).append(") = "); if (Log.isExcludedProperty(key)) sb.append(Log.VALUE_SUPRESSED); else sb.append(bodyToString(e.getValue(), indentLevel+1)); } return sb.toString(); } return ""; }
protected String toStringFields(int indentLevel) { if (headers != null) { String sep = getFieldSeparator(indentLevel); StringBuilder sb = new StringBuilder(); for (Iterator i = headers.entrySet().iterator(); i.hasNext();) { Map.Entry e = (Map.Entry) i.next(); String key = e.getKey().toString(); sb.append(sep).append("hdr(").append(key).append(") = "); if (Log.isExcludedProperty(key)) sb.append(Log.VALUE_SUPRESSED); else sb.append(bodyToString(e.getValue(), indentLevel+1)); } return sb.toString(); } return ""; }
protected String toStringFields(int indentLevel) { if (headers != null) { String sep = getFieldSeparator(indentLevel); String s = ""; for (Iterator i = headers.entrySet().iterator(); i.hasNext();) { Map.Entry e = (Map.Entry) i.next(); String key = e.getKey().toString(); s += sep + "hdr(" + key + ") = "; if (Log.isExcludedProperty(key)) s += Log.VALUE_SUPRESSED; else s += bodyToString(e.getValue(), indentLevel+1); } return s; } return ""; }
if (value == this) buf.append("(recursive Map as value)"); else if (Log.isExcludedProperty(key.toString())) buf.append(Log.VALUE_SUPRESSED); else
if (value == this) buf.append("(recursive Map as value)"); else if (Log.isExcludedProperty(key.toString())) buf.append(Log.VALUE_SUPRESSED); else
if (value == this) buf.append("(recursive Map as value)"); else if (Log.isExcludedProperty(key.toString())) buf.append(Log.VALUE_SUPRESSED); else
protected String toStringFields(int indentLevel) { String sep = getFieldSeparator(indentLevel); String s = super.toStringFields(indentLevel); s += sep + "code = " + faultCode; s += sep + "message = " + faultString; s += sep + "details = " + faultDetail; s += sep + "rootCause = "; if (rootCause == null) s += "null"; else s += rootCause.toString(); if (Log.isExcludedProperty("body")) s += sep + "body = " + Log.VALUE_SUPRESSED; else s += sep + "body = " + bodyToString(body, indentLevel); s += sep + "extendedData = " + bodyToString(extendedData, indentLevel); return s; } }
protected String toStringFields(int indentLevel) { String sep = getFieldSeparator(indentLevel); String s = super.toStringFields(indentLevel); s += sep + "code = " + faultCode; s += sep + "message = " + faultString; s += sep + "details = " + faultDetail; s += sep + "rootCause = "; if (rootCause == null) s += "null"; else s += rootCause.toString(); if (Log.isExcludedProperty("body")) s += sep + "body = " + Log.VALUE_SUPRESSED; else s += sep + "body = " + bodyToString(body, indentLevel); s += sep + "extendedData = " + bodyToString(extendedData, indentLevel); return s; } }
protected String toStringFields(int indentLevel) { String sep = getFieldSeparator(indentLevel); String s = super.toStringFields(indentLevel); s += sep + "code = " + faultCode; s += sep + "message = " + faultString; s += sep + "details = " + faultDetail; s += sep + "rootCause = "; if (rootCause == null) s += "null"; else s += rootCause.toString(); if (Log.isExcludedProperty("body")) s += sep + "body = " + Log.VALUE_SUPRESSED; else s += sep + "body = " + bodyToString(body, indentLevel); s += sep + "extendedData = " + bodyToString(extendedData, indentLevel); return s; } }