LogFile: set attributes using ccData.setattributes
ccData: add a method that checks attribute types