@Override public void setError(ErrorCode code, String msg, Throwable t) { _time = System.currentTimeMillis(); _level = Level.ERROR; _buf.copy(code.getError()).append(' ').append(msg); ExceptionTrace.format(_buf, t); }
@Override public void setError( ErrorCode code, byte[] bytes, int offset, int length, byte[] other, int offsetOther, int otherLength) { _time = System.currentTimeMillis(); _level = Level.ERROR; _buf.copy(code.getError()) .append(' ') .append(bytes, offset, length) .append(' ') .append(other, offsetOther, otherLength); }
@Override public void setError(ErrorCode code, String msg) { _time = System.currentTimeMillis(); _level = Level.ERROR; _buf.copy(code.getError()).append(' ').append(msg); }