Added printf style logging using variadic args.