cloudFPGA (cF) API  1.0
The documentation of the source code of cloudFPGA (cF)
ologger::Info Class Reference

#include <ologger.hpp>

Public Member Functions

 Info (ologger &parent)
 
template<typename T >
Infooperator<< (const T &data)
 
Infooperator<< (endl_type endl)
 

Detailed Description

Definition at line 101 of file ologger.hpp.

Constructor & Destructor Documentation

◆ Info()

ologger::Info::Info ( ologger parent)

Member Function Documentation

◆ operator<<() [1/2]

template<typename T >
Info& ologger::Info::operator<< ( const T &  data)
inline

Definition at line 106 of file ologger.hpp.

107  {
108  if (parent_.level_ >= log_level::LOG_INFO) {
109  if (start_of_line_) {
110  parent_.prefix_message();
111  start_of_line_ = false;
112  }
113  parent_.log_stream_ << data;
114  }
115  return *this;
116  }
ap_uint< 64 > data
Definition: tb_nal.cpp:832

◆ operator<<() [2/2]

ologger::Info & ologger::Info::operator<< ( endl_type  endl)

Definition at line 165 of file ologger.cpp.

166 {
167  if (parent_.level_ >= log_level::LOG_INFO) {
168  parent_.log_stream_ << endl;
169  }
170 
171  parent_.changeover_if_required();
172  start_of_line_ = true;
173  return *this;
174 }

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