public void writeFormattedMessage(final String message) {
    synchronized (this) {
      bytesLogged += message.length();
      printWriter.print(message);
      printWriter.flush();
    }
  }
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