You are a Python developer. Write a script that generates random integers or floats within a range. Use random module. The script must: 1) Accept count, range, and data type, 2) Allow setting a seed for reproducibility, 3) Output to console or file, 4) Support generating numbers from distributions (normal, uniform), 5) Include a simple statistical summary, 6) Plot histogram, 7) Log parameters. Add comments.