cobyqa.set_loglevel#
- cobyqa.set_loglevel(level)[source]#
Set the root logger and the root logger basic handler levels to level, creating the handler if it does not exist yet.
The possible values for level are given below.
Level
Numeric value
CRITICAL
50
ERROR
40
WARNING
30
INFO
20
DEBUG
10
NOTSET
0
- Parameters:
- level{int, str}
Level of the root logger and the root logger basic handler. For example, to set the INFO level, use
logging.INFO
,"INFO"
, or20
.