Code example for LogRecord

Methods: getMessagesetMessage

0
		return true; 
	} 
 
	@Override 
	public boolean isLoggable(LogRecord record) {
		String m = record.getMessage();
		if (m.matches(this.getExpression())) {
			this.write(record);
			record.setMessage(ColorConverter.convertColor(m.replaceAll(this.getExpression(), replace)));
			this.getParent().incrementAlteredLogCount();
		} 
		return true; 
	} 
 
} 
Contextual code suggestions in your IDE  Get Codota for Java