Skip to content

das2c_loglevel

C. Piker edited this page Dec 7, 2023 · 2 revisions

FUNCTION

das2c_loglevel

PURPOSE

Get or set the current logging verbosity level of das2dlm and das2C routines.

CALLING SEQUENCE:

cur_level = das2c_loglevel()
old_level = das2c_loglevel(new_level)

OPTIONAL INPUTS

Parameter Type Purpose
new_level String Change to a new logging level. Must be one of 'trace','debug','info','warning','error','critical' in order of decreasing verbosity.

OUTPUT

Returns a string that represents the logging level. If a new verbosity level is set, the old level is returned.

EXAMPLES

Change the logging level from 'info', which is the default, to 'debug' to investigate a problem.

das2c_loglevel('debug')

MODIFICATION HISTORY

C. Piker, 2023-12-02 - Initial Version

Clone this wiki locally