forked from mindspore-Ecosystem/mindspore
version log_api
This commit is contained in:
parent
70152adcb3
commit
62a704184d
|
@ -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()
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue