I believe it is the parent folder that is the controlling factor all sub-folders are also hidden. So I don’t believe that it is the intention of avast to hide the logs sub-folders but the OS deciding what should be hidden.

Another such decision that drives me bonkers is the ‘Hide extensions for known File Types.’ The problem is known to whom, most novice users aren’t going to know them, so the answer would appear known to MS.