log: support regexp when matching logger

Change-Id: I1f28f20943eeb344843f0bcdf4d33a5564f6170a