code: @Override
      protected FormatWriter createWriter(final OutputStream outputStream,
                                          final FormatLogger logger) {
          try {
              return new DSMLFormatWriter(outputStream);
          } catch (final IOException e) {
              logger.logError("Could not create and intialise the DSML writer", e);
          }
          return null;
      }
docs: Create the LDAP writer that will dump LDAP entries to a DSML file.
  
  @param outputStream The target output stream.
  @param logger       Used to log information or error messages.
  @return A {@link DSMLFormatWriter} object.