Basic logger middleware for Goumi