logLevels function

Log levels