log_with_offset#

niriss_tools.grism.log_with_offset(s, blank_lines=1, curr_line='')[source]#

Print to previous lines on the console.

Parameters:
sstr

The string to print.

blank_linesint, optional

How many blank lines to leave between the current one and the previous, by default 1.

curr_linestr, optional

The string to print to the current line, by default "".