code: @Override
  	public void format(final LoggingEvent event, final StringBuffer toAppendTo) {
  
  		String renderedMessage = event.getRenderedMessage();
  
  		if (renderedMessage!= null && renderedMessage.contains("\n")) {
  
  			toAppendTo.append("\n");
  
  			String[] messageParts = renderedMessage.split("\n");
  
  			String spacing = getSpacing();
  
  			for (int i = 0; i < messageParts.length; i++) {
  
  				String messagePart = messageParts[i];
  				toAppendTo.append(spacing);
  				toAppendTo.append(messagePart);
  
  				if (i != (messageParts.length - 1)) {
  					toAppendTo.append("\n");
  				}
  			}
  
  		} else {
  			toAppendTo.append(renderedMessage);
  		}
  
  	}
docs: {@inheritDoc}