add logging documentation