code: public static InternalLogId allocate(String typeName, @Nullable String details) {
      return new InternalLogId(typeName, details, getNextId());
    }
docs: Creates a log id.
  
  @param typeName the "Type" to be used when logging this id.
  @param details a short, human readable string that describes the object the id is attached to.
  Typically this will be an address or target.