using a logger instead of println to show adt messages
platformSdk and targetDevice are optional, so only adding them as arguments when they are specified