events logging in styleguide