Skip to content

WithDecider gone but referenced on documentation #710

@JosemyDuarte

Description

@JosemyDuarte

Hi!

I'm migrating from 1.4.0 to 2.1.0 and we were using WithDecider. I see it still referenced on the documentation

All logging middleware will emit a final log statement. It is based on the error returned by the handler function,
the gRPC status code, an error (if any) and it emits at a level controlled via `WithLevels`. You can control this behavior
using `WithDecider`.

But is not implemented anywhere, what is the advisable way to accomplish similar results with v2 API? I would be happy to update the docs with this information as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions