wrapped log statements in #ifdefs, since logging from pebble to phone is a big battery drain