Monotonicity of the logarithmic energy for random matrices