Package level defines a Priority type and some conversion methods for a 7-tiered logging level schema, which mirror syslog and system's logging levels.
Levels range from Emergency (0) to Debug (7), and the special type Priority and associated constants provide access to these values.
Priority is an integer that tracks log levels. Use with one of the defined constants.
Constants defined for easy access to
FromString takes a string, (case insensitive, leading and trailing space removed, )
IsValid returns false when the priority valid is not a valid priority value.
String implements the Stringer interface and makes it possible to print human-readable string identifier for a log level.