forked from mindspore-Ecosystem/mindspore
!18812 version log_api
Merge pull request !18812 from mindspore_ding/master_0624
This commit is contained in:
commit
0be487f830
|
@ -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