Source code for ska_control_model.logging_level

# -*- coding: utf-8 -*-
#
# This file is part of the SKA Control System project.
#
# Distributed under the terms of the BSD 3-clause new license.
# See LICENSE.txt for more info.
"""This module defines an enumerated type for logging level."""

import enum


[docs] class LoggingLevel(enum.IntEnum): """Python enumerated type for logging level.""" OFF = 0 """Logging is turned off.""" FATAL = 1 """Logs of critical events that result in component shutdown or failure.""" ERROR = 2 """Logs of errors.""" WARNING = 3 """Logs of warnings.""" INFO = 4 """Logs of information relevant to users.""" DEBUG = 5 """Logs of information relevant only for debugging"""