summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorJordan Wiens <jordan@psifertex.com>2021-09-30 12:37:36 -0400
committerJordan Wiens <jordan@psifertex.com>2021-09-30 12:58:27 -0400
commit59adff1fffb5fe9b9c7813dda84b3abec96d8c50 (patch)
tree8a1f97117e11d00d59155803cd42fd00cd69424c /python
parent3ec56b73b718e84fa5c40030fe27c2cdbff5c5f7 (diff)
small doc fixes
Diffstat (limited to 'python')
-rw-r--r--python/log.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/log.py b/python/log.py
index e72a843a..1aee694e 100644
--- a/python/log.py
+++ b/python/log.py
@@ -97,7 +97,7 @@ def log_warn(text):
:Example:
>>> log_to_stdout(LogLevel.DebugLog)
- >>> log_info("Chilidogs!")
+ >>> log_warn("Chilidogs!")
Chilidogs!
>>>
"""
@@ -167,7 +167,7 @@ def log_to_file(min_level, path, append = False):
"""
``log_to_file`` redirects minimum log level to a file named ``path``, optionally appending rather than overwriting.
- :param enums.Log_Level min_level: minimum level to log to
+ :param enums.Log_Level min_level: minimum level to log
:param str path: path to log to
:param bool append: optional flag for specifying appending. True = append, False = overwrite.
:rtype: None