logJSON
logJSON and reworked logCapture