Commit 95bf73db authored by eric pellegrini's avatar eric pellegrini
Browse files

Removed logger settings from preferences

parent 630714f8
......@@ -35,7 +35,6 @@ import collections
import ConfigParser
import os
from MDANSE import LOGGER
from MDANSE.Core.Platform import PLATFORM, PlatformError
from MDANSE.Core.Error import Error
from MDANSE.Core.Singleton import Singleton
......@@ -206,25 +205,6 @@ class InputDirectory(PreferencesItem):
self._value = value
class LoggingLevel(PreferencesItem):
type = "logging_level"
def set_value(self, value):
Set the value of the logging level preferences item.
:param value: the logging level
:type value: str
value = value.lower()
if not value in LOGGER.levels.keys():
raise PreferencesError("Invalid logging level")
self._value = value
class Preferences(object):
This class implements the MDANSE preferences.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment