Close Datalog Function

close_datalog closes the current TestRun data logging context.

TestRun.close_datalog() -> None