summaryrefslogtreecommitdiff
path: root/python/log.py
diff options
context:
space:
mode:
authorPeter LaFosse <peter@vector35.com>2017-01-05 09:14:31 -0500
committerPeter LaFosse <peter@vector35.com>2017-01-05 09:14:31 -0500
commit4761ea9c83104b872d8d49fcde45f17d17e7872d (patch)
tree0acca0d74701a834c36f85aebd7dd9955ecbfb8f /python/log.py
parent96acbed85902d8dfd43ef624afac72145ae6e577 (diff)
Modifying how enumerations are exposed and used, and a bunch of cleanup of existing plugins
Diffstat (limited to 'python/log.py')
-rw-r--r--python/log.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/python/log.py b/python/log.py
index 932c739d..45adb4aa 100644
--- a/python/log.py
+++ b/python/log.py
@@ -57,7 +57,7 @@ def log_debug(text):
:rtype: None
:Example:
- >>> log_to_stdout(core.BNLogLevel.DebugLog)
+ >>> log_to_stdout(LogLevel.DebugLog)
>>> log_debug("Hotdogs!")
Hotdogs!
"""
@@ -87,7 +87,7 @@ def log_warn(text):
:rtype: None
:Example:
- >>> log_to_stdout(core.BNLogLevel.DebugLog)
+ >>> log_to_stdout(LogLevel.DebugLog)
>>> log_info("Chilidogs!")
Chilidogs!
>>>
@@ -103,7 +103,7 @@ def log_error(text):
:rtype: None
:Example:
- >>> log_to_stdout(core.BNLogLevel.DebugLog)
+ >>> log_to_stdout(LogLevel.DebugLog)
>>> log_error("Spanferkel!")
Spanferkel!
>>>
@@ -119,7 +119,7 @@ def log_alert(text):
:rtype: None
:Example:
- >>> log_to_stdout(core.BNLogLevel.DebugLog)
+ >>> log_to_stdout(LogLevel.DebugLog)
>>> log_alert("Kielbasa!")
Kielbasa!
>>>
@@ -136,7 +136,7 @@ def log_to_stdout(min_level):
:Example:
>>> log_debug("Hotdogs!")
- >>> log_to_stdout(core.BNLogLevel.DebugLog)
+ >>> log_to_stdout(LogLevel.DebugLog)
>>> log_debug("Hotdogs!")
Hotdogs!
>>>