proxygen
|
#include <Logging.h>
Public Types | |
enum | Format : uint8_t { Format::HEX_FOLLY = 0, Format::HEX_16 = 1, Format::CHAIN_INFO = 2, Format::BIN = 3 } |
Public Member Functions | |
IOBufPrinter () | |
virtual | ~IOBufPrinter () |
virtual std::string | print (const folly::IOBuf *buf)=0 |
Static Public Member Functions | |
static std::string | printChain (const folly::IOBuf *buf, Format format, bool coalesce) |
static std::string | printHexFolly (const folly::IOBuf *buf, bool coalesce=false) |
static std::string | printHex16 (const folly::IOBuf *buf, bool coalesce=false) |
static std::string | printChainInfo (const folly::IOBuf *buf) |
static std::string | printBin (const folly::IOBuf *buf, bool coalesce=false) |
|
strong |
|
inlinevirtual |
|
pure virtual |
Implemented in proxygen::BinPrinter, proxygen::ChainInfoPrinter, proxygen::HexFollyPrinter, and proxygen::Hex16Printer.
|
inlinestatic |
Definition at line 140 of file Logging.h.
Referenced by proxygen::HPACKEncodeBuffer::toBin().
|
static |
Definition at line 103 of file Logging.cpp.
References b, folly::IOBuf::clone(), folly::IOBuf::coalesce(), proxygen::ERROR, and uint8_t.
|
inlinestatic |
Definition at line 136 of file Logging.h.
Referenced by proxygen::dumpBinToFile().
|
inlinestatic |
Definition at line 132 of file Logging.h.
|
inlinestatic |
Definition at line 127 of file Logging.h.
Referenced by proxygen::HTTP2Codec::checkConnectionError(), proxygen::HTTP2Codec::parseHeadersDecodeFrames(), and proxygen::GzipHeaderCodec::parseNameValues().