Skip to content

Per-sink custom formatters #742

@QuillUsr1

Description

@QuillUsr1

Just to start with - I think its great that we now have per-sink pattern formatters in v9.0.0 https://github.com/odygrd/quill/blob/master/examples/sink_formatter_override.cpp !

But I was wondering if it would be possible to go one step further, and integrate mutli-formatting with this feature. https://github.com/odygrd/quill/blob/master/examples/user_defined_types_multi_format.cpp.

The idea would be that logging through sink1 could use the {} formatter, and logging through sink2 could always use the {:p} formatter for example.

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