logger level name to value and value to name