iMSTK
Interactive Medical Simulation Toolkit
Public Member Functions | Static Public Member Functions | List of all members
imstk::LoggerG3 Class Reference

Public Member Functions

 LoggerG3 (const LoggerG3 &)=delete
 
LoggerG3operator= (const LoggerG3 &)=delete
 
 LoggerG3 (LoggerG3 &&)=delete
 
LoggerG3operator= (LoggerG3 &&)=delete
 
std::unique_ptr< StdoutSinkHandle > addStdoutSink ()
 Add a sink that logs to standard output.
 
std::unique_ptr< FileSinkHandle > addFileSink (const std::string &name, const std::string &path="./")
 Add a sink that logs to file.
 
template<typename T , typename DefaultLogCall >
std::unique_ptr< g3::SinkHandle< T > > addSink (std::unique_ptr< T > real_sink, DefaultLogCall call)
 Add your own sink.
 
void initialize ()
 Create and initialize the logger.
 
void destroy ()
 Manual destruction of the logger members.
 

Static Public Member Functions

static LoggerG3getInstance ()
 Gets logger instances without sinks, creates if doesn't exist yet.
 
static LoggerG3startLogger ()
 Starts logger with default sinks, use getInstance to create a logger with no sinks.
 

Detailed Description

Definition at line 45 of file imstkLoggerG3.h.


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