place sevarity level enum inside Logger

Avoid more pollution.