Swift: MacOSX log(item)