Changeset 41d6187 in sasview for src/sas/logger_config.py
- Timestamp:
- Jul 13, 2018 3:26:57 AM (6 years ago)
- Children:
- 6138f73
- Parents:
- 158a0c7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/logger_config.py
r5dba493 r41d6187 7 7 8 8 import pkg_resources 9 10 import sas.qtgui.Utilities.LocalConfig as LocalConfig11 9 12 10 ''' … … 31 29 logger = logging.getLogger(self.name) 32 30 33 # use this as a final override if the need arises34 logging.disable(LocalConfig.DISABLE_LOGGING)35 36 31 return logger 37 32 … … 43 38 self._update_all_logs_to_debug(logger) 44 39 logging.captureWarnings(True) 45 46 # use this as a final override if the need arises47 logging.disable(LocalConfig.DISABLE_LOGGING)48 40 49 41 return logger
Note: See TracChangeset
for help on using the changeset viewer.