MCPcopy Create free account
hub / github.com/ceph/ceph / Graylog

Method Graylog

src/common/Graylog.cc:18–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16namespace ceph::logging {
17
18Graylog::Graylog(const SubsystemMap * const s, const std::string &logger)
19 : m_subs(s),
20 m_logger(std::move(logger)),
21 m_ostream_compressed(std::stringstream::in |
22 std::stringstream::out |
23 std::stringstream::binary)
24{
25 m_formatter = std::unique_ptr<Formatter>(Formatter::create("json"));
26 m_formatter_section = std::unique_ptr<Formatter>(Formatter::create("json"));
27}
28
29Graylog::Graylog(const std::string &logger)
30 : Graylog(nullptr, logger)

Callers

nothing calls this directly

Calls 1

createFunction · 0.70

Tested by

no test coverage detected