Log Message: avoid obsolete darwin api for CGDisplayBitsPerPixel use CGDisplayModeCopyPixelEncoding instead