Update NSLogger API compatible with iOS 8