#49 allow logging directly from Middleware