ark::logging::LogFileHandle

Defined in header “ark/logging/log_registry.hh”.


A handle to a log file this can be used to open (and hold open) a reference to a file object. You can then use this to get mappings so you can read data from the object.

Methods

  • ~LogFileHandle()
    Virtual destructor, for cleanup.

  • uint8_t * mapping()
    Returns a pointer to the raw memory mapped data this is the complete contents of the file, in a byte array.

  • size_t size()
    Returns the size of the mapped region, in bytes.

  • void close()
    Closes this object, releasing resources to the OS.