Added XCGLogger for logging