Structs§
Enums§
Constants§
- LOG_
BLOCK_ SIZE - LOG_
HEADER_ SIZE - Header is checksum (4 bytes), length (2 bytes), type (1 byte).
- LOG_
MAX_ RECORD_ TYPE
Traits§
- LogReader
Reporter - | Interface for reporting errors. |
- Logger
- | An interface for writing log messages. |
- Logv
Functions§
- append_
escaped_ string_ to - | Append a human-readable printout of | “value” to *str. | | Escapes any non-printable characters | found in “value”. |
- append_
number_ to - | Append a human-readable printout of | “num” to *str |
- consume_
decimal_ number - | Parse a human-readable number from “*in” into | *value. On success, advances “*in” past the | consumed number and sets “*val” to the numeric | value. Otherwise, returns false and leaves *in | in an unspecified state.
- escape_
string - | Return a human-readable version of “value”. | | Escapes any non-printable characters found in | “value”.
- init_
type_ crc - number_
to_ string - | Return a human-readable printout of | “num” |