Saner collision check, removed inline from non inline log function.