MindSpore Python API
MindSpore C++ API
Get the logger level.
str, the Log level includes 4(EXCEPTION), 3(ERROR), 2(WARNING), 1(INFO), 0(DEBUG).
Examples
>>> import os >>> os.environ['GLOG_v'] = '0' >>> from mindspore import log as logger >>> level = logger.get_level() >>> print(level) '0'