Added logging class and wrapper for debug / verbose logging so they are excluded from non-debug builds