Added snippets for loggers.
Simplified the goog.events.listen snippet.