aboutsummaryrefslogtreecommitdiff
path: root/wqflask/utility/logger.py
diff options
context:
space:
mode:
authorPjotr Prins2016-06-26 09:50:29 +0000
committerPjotr Prins2016-06-26 09:50:29 +0000
commitd1192b1f244e8976fb53c260179eb3715029ebf4 (patch)
tree9f2e94682b34c8ffa019d4beda90f8c2b1080319 /wqflask/utility/logger.py
parenteb68b396be51c98e9e9a9027f8b1bb9b05e692c0 (diff)
downloadgenenetwork2-d1192b1f244e8976fb53c260179eb3715029ebf4.tar.gz
gn_server: introduced one new query to fetch a dataset record and force fetch1 to return a tuple
Diffstat (limited to 'wqflask/utility/logger.py')
-rw-r--r--wqflask/utility/logger.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/wqflask/utility/logger.py b/wqflask/utility/logger.py
index 86ee1c52..ddc0ea82 100644
--- a/wqflask/utility/logger.py
+++ b/wqflask/utility/logger.py
@@ -48,13 +48,12 @@ class GNLogger:
"""Set the undelying log level"""
self.logger.setLevel(value)
- def debug(self,level=0,*args):
+ def debug(self,*args):
"""Call logging.debug for multiple args. Use level=num to filter on
-LOG_LEVEL_DEBUG.
+LOG_LEVEL_DEBUG (NYI).
"""
- if level <= LOG_LEVEL_DEBUG:
- self.collect(self.logger.debug,*args)
+ self.collect(self.logger.debug,*args)
def info(self,*args):
"""Call logging.info for multiple args"""