Exemplo n.º 1
0
  /**
   * Sends to LogMX the current parsed log entry, then creates a new one.
   *
   * @throws Exception
   */
  private void prepareNewEntry() throws Exception {

    recordPreviousEntryIfExists();
    entry = createNewEntry();
    entryMsgBuffer = new StringBuilder(80);

    // Creates an empty Map with only one element allocated:
    entry.setUserDefinedFields(new HashMap<String, Object>(1));
  }