added options hash to Logger to support logging bodies