update log_event to allow variable number of arguments for formatted strings
e.g. log_event( 'foo: %s', 'bar');