Hack to allow creating own `logger::action`-like objects (made
specifically for `assembler::exception` and similar that will come
soon).