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

Inherited by the following classes: ILLIXR::sqlite_record_logger, ILLIXR::stdout_record_logger

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.
~record_logger () override

Public Functions inherited from ILLIXR::phonebook::service

See ILLIXR::phonebook::service

Type Name
virtual ~service () = default

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

ILLIXR::record_logger::~record_logger () override


The documentation for this class was generated from the following file /home/friedel/devel/ILLIXR/include/illixr/record_logger.hpp