ws.logging module¶
- ws.logging.setTerminalLogging()¶
- ws.logging.set_argparser(argparser)¶
Add arguments for configuring global logging values to an instance of
argparse.ArgumentParser.This function is called internally from the
ws.configmodule.- Parameters
argparser – an instance of
argparse.ArgumentParser
- ws.logging.init(args)¶
Initialize the
loggingmodule with the arguments parsed byargparse.ArgumentParser.This function is called internally from the
ws.configmodule.- Parameters
args – an instance of
argparse.Namespace. It is expected thatset_argparser()was called prior to parsing the arguments.