logger = get_logger() # or
logger = get_logger('process.log')logging
basic logging functions for the CLI
get_logger
get_logger (logfile:str=None)
get logger for decorrelation cli application
| Type | Default | Details | |
|---|---|---|---|
| logfile | str | None | logfile, optional. default: no logfile |
If no input logfile, the log information will be only printed on the screen. If provided logfile, the log information will be printed on the screen and saved to the file.
Usage: