Skip to content

Add spdlog compatible logger #652

Description

@cacharle

It would be nice to have a logger for spdlog

It'd be the same as the ScreenLogger except it would use spdlog::info instead of std::cout <<.

    void onOutgoing(const std::string &value) override
    {
        if (!m_outgoing) {
            return;
        }
        FIX::Locker l(s_mutex);
        spdlog::debug("FIX outgoing: {}: {}", m_prefix, replaceSOHWithPipe(value));
    }

Activity

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions