public String format (LogRecord logRecord) {
    StringBuffer stringBuffer = new StringBuffer();
    if (logRecord == null)
      stringBuffer.append("null logRecord received by ConciseLoggingFormatter");
    else if (logRecord.getMessage() == null)
      stringBuffer.append("null logRecord message received by ConciseLoggingFormatter");
    else
      stringBuffer.append(logRecord.getMessage());
    stringBuffer.append('\n');
    return stringBuffer.toString();
  }