Making recipes with 1 or more type of block

I want to be able to make a crafting recipe that is just any type of log but i dont want to have more than 1 .json file for it to work. How would i do this? example "LXL", "X X", "LXL" L = any log (stripped and not stripped) X = iron ingot

Continue to help post