version log_api

This commit is contained in:
dingpeifei 2021-06-24 15:33:25 +08:00
parent 70152adcb3
commit 62a704184d
2 changed files with 2 additions and 1 deletions

View File

@ -408,6 +408,7 @@ def get_log_config():
>>> os.environ['GLOG_log_dir'] = '/var/log'
>>> os.environ['logger_maxBytes'] = '5242880'
>>> os.environ['logger_backupCount'] = '10'
>>> os.environ['GLOG_stderrthreshold'] = '2'
>>> from mindspore import log as logger
>>> logger.get_log_config()
"""