gliderDebug: Print a debugging message

View source: R/netcdf.R View source: R/base.R

gliderDebugR Documentation

Print a debugging message

Description

Many glider functions decrease the debug level by 1 when they call other functions, so the effect is a nesting, with more space for deeper function level.

Many glider functions decrease the debug level by 1 when they call other functions, so the effect is a nesting, with more space for deeper function level.

Usage

gliderDebug(debug = 0, ..., unindent = 0)

gliderDebug(debug = 0, ..., unindent = 0)

Arguments

debug

an integer, less than or equal to zero for no message, and greater than zero for increasing levels of debugging. Values greater than 4 are treated like 4.

...

items to be supplied to cat(), which does the printing. Almost always, this should include a trailing newline.

unindent

Number of levels to unindent, e.g. for start and end lines from a called function.

Author(s)

Dan Kelley


dankelley/oceanglider documentation built on June 8, 2025, 4:20 a.m.