Skip to content

Provide ostream based API #33

Description

@ktf

I would like to use FairLogger with some external component, which has the possibility to pipe log messages on a provided std::ostream. Is there any way we could have a wrapper around Logger which is std::ostream derived, while still using FairLogger as backend?

Activity

  1. rbx commented on Mar 4, 2021

    @rbx
    Member

    I have no found an easy way of doing this so far. Certainly I would like to avoid inheriting from ostream directly, as it can be quite complex.

    But a wrapper as you suggest might work. Do you have a possible solution for this in mind?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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