Finally a working solution for aspect-style logging and measuring
execution time