Envoyer par SMS: Logical limit laws for layered permutations and related structures