adding logging mechanisms of goog.debug.Logger system to samples and examples