From 4761ea9c83104b872d8d49fcde45f17d17e7872d Mon Sep 17 00:00:00 2001 From: Peter LaFosse Date: Thu, 5 Jan 2017 09:14:31 -0500 Subject: Modifying how enumerations are exposed and used, and a bunch of cleanup of existing plugins --- python/log.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'python/log.py') 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! >>> -- cgit v1.3.1