Added variable arguments for better logging