introduce toplevel patterns logger
introduce toplevel patterns logger

logging itself could be factored out. I consider it very useful on its
own.

janga1997/Patterns,garbas/Patterns,garbas/Patterns,garbas/Patterns,janga1997/Patterns,janga1997/Patterns