129130131132133134135136137138139
assertEquals(message, log.message()); assertEquals(level, log.level()); assertEquals(mdc, log.mdc().toString()); if(cause != null) { Error error = (Error) log; assertSame(cause, error.cause()); } return null; } }; }