Пример #1
0
    def __init__(self):
        super(Output, self).__init__()
        self._kernel_EXTRA = {
            'choices': (1, 2, 3, 4, 5, 6, 7, 'VERBOSE', 'DEBUG', 'INFO',
                        'WARNING', 'ERROR', 'FATAL', 'ALWAYS')
        }
        self._kernel = outputLevel('INFO')

        self._part_EXTRA = {
            'choices': (1, 2, 3, 4, 5, 6, 7, 'VERBOSE', 'DEBUG', 'INFO',
                        'WARNING', 'ERROR', 'FATAL', 'ALWAYS')
        }
        self._part = outputLevel('INFO')

        self._inputStage_EXTRA = {
            'choices': (1, 2, 3, 4, 5, 6, 7, 'VERBOSE', 'DEBUG', 'INFO',
                        'WARNING', 'ERROR', 'FATAL', 'ALWAYS')
        }
        self._inputStage = outputLevel('INFO')

        self._random_EXTRA = {
            'choices': (1, 2, 3, 4, 5, 6, 7, 'VERBOSE', 'DEBUG', 'INFO',
                        'WARNING', 'ERROR', 'FATAL', 'ALWAYS')
        }
        self._random = outputLevel('FATAL')
Пример #2
0
 def random(self, level):
     self._random = outputLevel(level)
Пример #3
0
 def part(self, level):
     self._part = outputLevel(level)
Пример #4
0
 def kernel(self, level):
     self._kernel = outputLevel(level)
Пример #5
0
 def inputStage(self, level):
     self._inputStage = outputLevel(level)