enhancement for logging params