Exemplo n.º 1
0
 private void buildLoggingEventAndAppend(
     final String localFQCN,
     final Marker marker,
     final Level level,
     final String msg,
     final Object[] params,
     final Throwable t) {
   LoggingEvent le = new LoggingEvent(localFQCN, this, level, msg, t, params);
   le.setMarker(marker);
   callAppenders(le);
 }
Exemplo n.º 2
0
 @Test
 public void marker() throws EvaluationException {
   LoggingEvent event = makeEvent("x");
   event.setMarker(markerA);
   doEvaluateAndCheck("e.marker?.name == 'A'", event, true);
 }