dhcpkit.common.server.logging.config_datatypes module¶
Datatypes useful for the logging component
-
dhcpkit.common.server.logging.config_datatypes.
logging_level
(value: str) → int[source]¶ Convert the strings representing logging levels to their numerical value
Parameters: value – The string representing the logging level Returns: Numerical logging level
-
dhcpkit.common.server.logging.config_datatypes.
rotation_style
(value: str) → str[source]¶ Determine the rotation style.
Parameters: value – String representation of rotation style Returns: Normalised rotation style