if (!found) { Throwable throwable = entry.getValue().getThrown(); if (throwable != null && throwable.getMessage() != null) { found = throwable.getMessage().contains(txtCheck);
public ThrowableInformation getThrowableInformation() { final Throwable thrown = logRecord.getThrown(); if (cachedThrowableInformation == null && thrown != null) { cachedThrowableInformation = new ThrowableInformation(thrown, logger); } return cachedThrowableInformation; }
public void renderRaw(final StringBuilder builder, final ExtLogRecord record) { builder.append(record.getFormattedMessage()); final Throwable t = record.getThrown(); if (t != null) { builder.append(": "); t.printStackTrace(new PrintWriter(new StringBuilderWriter(builder))); } } };
if (!found) { Throwable throwable = entry.getValue().getThrown(); if (throwable != null && throwable.getMessage() != null) { found = throwable.getMessage().contains(txtCheck);
if (!found) { Throwable throwable = entry.getValue().getThrown(); if (throwable != null && throwable.getMessage() != null) { found = throwable.getMessage().contains(txtCheck);
if (!found) { Throwable throwable = entry.getValue().getThrown(); if (throwable != null && throwable.getMessage() != null) { found = throwable.getMessage().contains(txtCheck);
/** * Construct a new instance. * * @param rec the log record */ public ConvertedLoggingEvent(final ExtLogRecord rec) { super(rec.getLoggerClassName(), new DummyCategory(rec.getLoggerName()), rec.getMillis(), LevelMapping.getPriorityFor(rec.getLevel()), rec.getMessage(), rec.getThreadName(), rec.getThrown() == null ? null : new ThrowableInformation(rec.getThrown()), rec.getNdc(), new LocationInfo(new Throwable(), rec.getLoggerClassName()), Collections.singletonMap("org.jboss.logmanager.record", rec)); }
Logger.getLogger(extRecord.getLoggerClassName()), extRecord.getMillis(), Level.toLevel(extRecord.getLevel().toString()), extRecord.getFormattedMessage(), extRecord.getThreadName(), extRecord.getThrown() == null ? null : new ThrowableInformation(extRecord.getThrown()), extRecord.getNdc(), new LocationInfo(new Throwable(), extRecord.getLoggerClassName()), Collections.singletonMap("org.jboss.logmanager.record", extRecord));
setSequenceNumber(original.getSequenceNumber()); setThreadID(original.getThreadID()); setThrown(original.getThrown()); if (!original.calculateCaller) { setSourceClassName(original.getSourceClassName());
final Throwable thrown = record.getThrown(); if (thrown != null) { if (isDetailedExceptionOutputType()) {