Log level parser.