class documentation

class LogLevel(ACMEIntEnum):

View In Hierarchy

Log levels.

These are the standard log levels, plus an additional OFF level.

Class Method toLogLevel Convert a string to a log level.
Method next Return next log level. This cycles through the levels.

Inherited from ACMEIntEnum:

Class Method has Check whether the enum type has an entry with either the given int value or string name.
Class Method to Return an enum value by its name.
Method __int__ Get the integer value of an enum.
Method __repr__ Stringify an enum.
Method __str__ Stringify an enum.
@classmethod
def toLogLevel(cls, logLevel: str) -> LogLevel | None:

Convert a string to a log level.

Parameters
logLevel:strString representation of a log level.
Returns
LogLevel | NoneLog level or None.
def next(self) -> LogLevel:

Return next log level. This cycles through the levels.