Merge "Add logging to the new layers API." into honeycomb