capture output of function to send it to log

Description

capture output of function to send it to log

Usage

capture_output(expr)

Arguments

expr expression to capture output from