Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
impeller::compiler::AutoLogger Class Reference

#include <logger.h>

Public Member Functions

 AutoLogger (std::stringstream &logger)
 
 ~AutoLogger ()
 
template<class T >
AutoLoggeroperator<< (const T &object)
 

Detailed Description

Definition at line 16 of file logger.h.

Constructor & Destructor Documentation

◆ AutoLogger()

impeller::compiler::AutoLogger::AutoLogger ( std::stringstream &  logger)
inlineexplicit

Definition at line 18 of file logger.h.

18: logger_(logger) {}

◆ ~AutoLogger()

impeller::compiler::AutoLogger::~AutoLogger ( )
inline

Definition at line 20 of file logger.h.

20 {
21 logger_ << std::endl;
22 logger_.flush();
23 }

Member Function Documentation

◆ operator<<()

template<class T >
AutoLogger & impeller::compiler::AutoLogger::operator<< ( const T object)
inline

Definition at line 26 of file logger.h.

26 {
27 logger_ << object;
28 return *this;
29 }

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