public String put(final int messageLevel, final Date messageDate, final String connectionName,
      final String threadName, final long threadId, final String message,
      final String exceptionText) {
    String formattedLine = formatLogLine(messageLevel, messageDate, connectionName, threadName,
        threadId, message, exceptionText);
    writeFormattedMessage(formattedLine);
    return formattedLine;
  }
Logs a message and an exception to the specified log destination.

@param messageLevel a string representation of the level
@param messageId the actual message to log
@param throwable the actual Exception to log
geode-core/src/main/java/org/apache/geode/internal/logging/PureLogWriter.java