ILLIXR: Illinois Extended Reality Testbed
Public Member Functions | List of all members
ILLIXR::record_logger Class Referenceabstract

The ILLIXR logging service for structured records. More...

#include <record_logger.hpp>

Public Member Functions

virtual void log (const record &r)=0
 Writes one log record.
 
virtual void log (const std::vector< record > &rs)
 Writes many of the same type of log record. More...
 

Detailed Description

The ILLIXR logging service for structured records.

This has two advantages over printf logging. It has lower overhead (because it goes into a database), won't result in spliced messages (no stdout race-conditions), and is used uniformly by ILLIXR components.

Member Function Documentation

◆ log()

virtual void ILLIXR::record_logger::log ( const std::vector< record > &  rs)
inlinevirtual

Writes many of the same type of log record.

This is more efficient than calling log many times.


The documentation for this class was generated from the following file: