Skip to content

How to disable the logging of a controller action for a given controller/action? #568

@gremo

Description

@gremo

I'm listening to the scroll:progress event (emitted by me) and invoking class-mutator#update. The action gets logged when debug is enabled, and this is fine in many cases.

But in this case the console is flooded with a lot of messages (depending on the monitor refresh rate). How can I disable the logging for this particular action?

<div data-controller="class-mutator"
    data-action="scroll:progress@window->class-mutator#update">
</div>

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