Text this: Logical limit laws for layered permutations and related structures