syslog_runtime::LogBuffer

Summary

Public functions

BeginRecord(FuchsiaLogSeverity severity, cpp17::optional< cpp17::string_view > file_name, unsigned int line, cpp17::optional< cpp17::string_view > message, zx_handle_t socket, 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
Flush()
bool
WriteKeyValue(cpp17::string_view key, cpp17::string_view value)
void
WriteKeyValue(cpp17::string_view key, int64_t value)
void
WriteKeyValue(cpp17::string_view key, uint64_t value)
void
WriteKeyValue(cpp17::string_view key, double value)
void
WriteKeyValue(cpp17::string_view key, bool value)
void
WriteKeyValue(cpp17::string_view key, const char *value)
void
data()
uint64_t *
record_state()
uint64_t *

Public static functions

data_size()
constexpr size_t
record_state_size()
constexpr size_t

Public functions

BeginRecord

void BeginRecord(
  FuchsiaLogSeverity severity,
  cpp17::optional< cpp17::string_view > file_name,
  unsigned int line,
  cpp17::optional< cpp17::string_view > message,
  zx_handle_t socket,
  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
)

Flush

bool Flush()

WriteKeyValue

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

WriteKeyValue

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

WriteKeyValue

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

WriteKeyValue

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

WriteKeyValue

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

WriteKeyValue

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

data

uint64_t * data()

record_state

uint64_t * record_state()

Public static functions

data_size

constexpr size_t data_size()

record_state_size

constexpr size_t record_state_size()