added macro for logging so that there is no possibility of logging sensitive data in a PROD build, slight refactors to change style and removing devices that are highly irrelevant these days