Skip to content

Class ILLIXR::record_logger

ClassList > ILLIXR > record_logger

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

  • #include <record_logger.hpp>

Inherits the following classes: ILLIXR::phonebook::service

Public Functions

Type Name
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.
virtual ~record_logger ()

Public Functions inherited from ILLIXR::phonebook::service

See ILLIXR::phonebook::service

Type Name
virtual ~service ()

Detailed Description

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.

Public Functions Documentation

function log [1/2]

Writes one log record.

virtual void ILLIXR::record_logger::log (
    const record & r
) = 0


function log [2/2]

Writes many of the same type of log record.

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

This is more efficient than calling log many times.


function ~record_logger

inline virtual ILLIXR::record_logger::~record_logger () 


The documentation for this class was generated from the following file common/record_logger.hpp