Thanks to visit codestin.com
Credit goes to github.com

Skip to content

How to intercept the logs? #365

@amrgetment

Description

@amrgetment

I want to modify the message before printing it for all logs, I want to sanitize all the logs
But you use copyWith so even if I add my output function, I won'tbe able to use it

        logger: (logger ?? TalkerLogger()).copyWith(
          output: _defaultFlutterOutput,
        ),

Is there a workaround to sanitize all the logs?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions