If you are using the OpenNTF Domino API and have that enabled as a library on the Application Properties on the Advanced tab (Designer 8.5) or Xsp Properties on the Page Generation tab (Designer 9.0), you already have the functionality.
If you have previously used the NSF or OSGi plugin versions, Java calls need to be changed. Instead of OpenLogUtil, use XspOpenLogUtil. Instead of OpenLogUtil.getOpenLogItem(), use XspOpenLogUtil.getXspOpenLogItem(). All other method names are unchanged and there are no changes required for calls from SSJS.