fuchsia_logging::LogBuffer

Summary

Public functions

BeginRecord(FuchsiaLogSeverity severity, std::optional< std::string_view > file_name, unsigned int line, std::optional< std::string_view > message, uint32_t dropped_count, zx_koid_t pid, zx_koid_t tid)
void
Encode(KeyValue< const char *, int8_t > value)
void
Encode(KeyValue< const char *, int16_t > value)
void
Encode(KeyValue< const char *, int32_t > value)
void
Encode(KeyValue< const char *, int64_t > value)
void
Encode(KeyValue< const char *, uint8_t > value)
void
Encode(KeyValue< const char *, uint16_t > value)
void
Encode(KeyValue< const char *, uint32_t > value)
void
Encode(KeyValue< const char *, uint64_t > value)
void
Encode(KeyValue< const char *, const char * > value)
void
Encode(KeyValue< const char *, char * > value)
void
Encode(KeyValue< const char *, std::string > value)
void
Encode(KeyValue< const char *, std::string_view > value)
void
Encode(KeyValue< const char *, double > value)
void
Encode(KeyValue< const char *, float > value)
void
Encode(KeyValue< const char *, bool > value)
void
EndRecord()
cpp20::span< const uint8_t >
WriteKeyValue(std::string_view key, const char *value)
void
WriteKeyValue(std::string_view key, std::string_view value)
void
WriteKeyValue(std::string_view key, int64_t value)
void
WriteKeyValue(std::string_view key, uint64_t value)
void
WriteKeyValue(std::string_view key, double value)
void
WriteKeyValue(std::string_view key, bool value)
void

Public functions

BeginRecord

void BeginRecord(
  FuchsiaLogSeverity severity,
  std::optional< std::string_view > file_name,
  unsigned int line,
  std::optional< std::string_view > message,
  uint32_t dropped_count,
  zx_koid_t pid,
  zx_koid_t tid
)

Encode

void Encode(
  KeyValue< const char *, int8_t > value
)

Encode

void Encode(
  KeyValue< const char *, int16_t > value
)

Encode

void Encode(
  KeyValue< const char *, int32_t > value
)

Encode

void Encode(
  KeyValue< const char *, int64_t > value
)

Encode

void Encode(
  KeyValue< const char *, uint8_t > value
)

Encode

void Encode(
  KeyValue< const char *, uint16_t > value
)

Encode

void Encode(
  KeyValue< const char *, uint32_t > value
)

Encode

void Encode(
  KeyValue< const char *, uint64_t > value
)

Encode

void Encode(
  KeyValue< const char *, const char * > value
)

Encode

void Encode(
  KeyValue< const char *, char * > value
)

Encode

void Encode(
  KeyValue< const char *, std::string > value
)

Encode

void Encode(
  KeyValue< const char *, std::string_view > value
)

Encode

void Encode(
  KeyValue< const char *, double > value
)

Encode

void Encode(
  KeyValue< const char *, float > value
)

Encode

void Encode(
  KeyValue< const char *, bool > value
)

EndRecord

cpp20::span< const uint8_t > EndRecord()

WriteKeyValue

void WriteKeyValue(
  std::string_view key,
  const char *value
)

WriteKeyValue

void WriteKeyValue(
  std::string_view key,
  std::string_view value
)

WriteKeyValue

void WriteKeyValue(
  std::string_view key,
  int64_t value
)

WriteKeyValue

void WriteKeyValue(
  std::string_view key,
  uint64_t value
)

WriteKeyValue

void WriteKeyValue(
  std::string_view key,
  double value
)

WriteKeyValue

void WriteKeyValue(
  std::string_view key,
  bool value
)