提交 58fbf4ea 编写于 作者: C chenlong

fix error test=develop

上级 f0a5eef5
...@@ -136,8 +136,8 @@ def set_verbosity(level=0): ...@@ -136,8 +136,8 @@ def set_verbosity(level=0):
""" """
Sets the verbosity level of log for dygraph to static graph. Sets the verbosity level of log for dygraph to static graph.
There are two means to set the logging verbosity: There are two means to set the logging verbosity:
1. Call function `set_verbosity` 1. Call function `set_verbosity`
2. Set environment variable `TRANSLATOR_VERBOSITY` 2. Set environment variable `TRANSLATOR_VERBOSITY`
**Note**: **Note**:
`set_verbosity` has a higher priority than the environment variable. `set_verbosity` has a higher priority than the environment variable.
...@@ -172,8 +172,8 @@ def set_code_level(level=LOG_AllTransformer): ...@@ -172,8 +172,8 @@ def set_code_level(level=LOG_AllTransformer):
""" """
Sets the level to print code from specific level of Ast Transformer. Sets the level to print code from specific level of Ast Transformer.
There are two means to set the code level: There are two means to set the code level:
1. Call function `set_code_level` 1. Call function `set_code_level`
2. Set environment variable `TRANSLATOR_CODE_LEVEL` 2. Set environment variable `TRANSLATOR_CODE_LEVEL`
**Note**: **Note**:
`set_code_level` has a higher priority than the environment variable. `set_code_level` has a higher priority than the environment variable.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册