diff options
author | Pjotr Prins | 2016-06-26 09:50:29 +0000 |
---|---|---|
committer | Pjotr Prins | 2016-06-26 09:50:29 +0000 |
commit | d1192b1f244e8976fb53c260179eb3715029ebf4 (patch) | |
tree | 9f2e94682b34c8ffa019d4beda90f8c2b1080319 /wqflask/utility/logger.py | |
parent | eb68b396be51c98e9e9a9027f8b1bb9b05e692c0 (diff) | |
download | genenetwork2-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.py | 7 |
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""" |