public static void print(long timestamp, Event[] inEvents, Event[] removeEvents) {
        StringBuilder sb = new StringBuilder();
        sb.append("Events{ @timestamp = ").append(timestamp).
                append(", inEvents = ").append(Arrays.deepToString(inEvents)).
                append(", RemoveEvents = ").append(Arrays.deepToString(removeEvents)).append(" }");
        log.info(sb.toString());
    }
Utility class to print incoming {@link Event}
modules/siddhi-core/src/main/java/io/siddhi/core/util/EventPrinter.java