Assigning names to constants

By assigning names to the constants, custom layout functions will be
able to easily determine the string equivalent. After all, .LOG_LEVEL
is not accessible outside the package namespace.