code: public static void setWriter(final Writer writer) {
          LowLevelLogUtil.writer = new PrintWriter(Objects.requireNonNull(writer), true);
      }
docs: Sets the underlying Writer where exceptions are printed to.
  
  @param writer the Writer to log to