perform NSLog in debug mode,and no log in Production