!18812 version log_api

Merge pull request !18812 from mindspore_ding/master_0624
This commit is contained in:
i-robot 2021-06-26 01:41:07 +00:00 committed by Gitee
commit 0be487f830
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()
"""