public void addMarker(Marker marker) {
        if (markers == null) {
            markers = new ArrayList<>(2);
        }
        markers.add(marker);
    }
A default implementation of {@link LoggingEvent}.

@author Ceki G&uuml;lc&uuml;

@since 2.0.0
slf4j-api/src/main/java/org/slf4j/event/DefaultLoggingEvent.java