#712 import logging library
#712 use DDLog for important log information
#712 use dispatch once to keep singleton threadsafe, add more log info
#712 for now print all logs for release version so that we can request logs from ad-hoc distribution