Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
inviwo::LogFilter Class Reference

filters log messages based on the verbosity level. Messages below the selected verbosity will be ignored. More...

#include <logfilter.h>

+ Inheritance diagram for inviwo::LogFilter:

Public Member Functions

 LogFilter (Logger *logger=LogCentral::getPtr())
 
 LogFilter (Logger *logger, LogVerbosity verbosity)
 
 LogFilter (const LogFilter &)=default
 
 LogFilter (LogFilter &&) noexcept=default
 
LogFilteroperator= (const LogFilter &)=default
 
LogFilteroperator= (LogFilter &&) noexcept=default
 
void setVerbosity (LogVerbosity verbosity)
 
LogVerbosity getVerbosity ()
 
void setLogger (Logger *logger)
 
LoggergetLogger () const
 
virtual void log (std::string_view logSource, LogLevel level, LogAudience audience, std::string_view file, std::string_view function, int line, std::string_view msg) override
 
virtual void logProcessor (Processor *processor, LogLevel level, LogAudience audience, std::string_view msg, std::string_view file, std::string_view function, int line) override
 
virtual void logNetwork (LogLevel level, LogAudience audience, std::string_view msg, std::string_view file, std::string_view function, int line) override
 
- Public Member Functions inherited from inviwo::Logger
virtual void logAssertion (std::string_view file, std::string_view function, int line, std::string_view msg)
 

Detailed Description

filters log messages based on the verbosity level. Messages below the selected verbosity will be ignored.

Member Function Documentation

◆ log()

virtual void inviwo::LogFilter::log ( std::string_view logSource,
LogLevel level,
LogAudience audience,
std::string_view file,
std::string_view function,
int line,
std::string_view msg )
overridevirtual

Implements inviwo::Logger.

◆ logNetwork()

virtual void inviwo::LogFilter::logNetwork ( LogLevel level,
LogAudience audience,
std::string_view msg,
std::string_view file,
std::string_view function,
int line )
overridevirtual

Reimplemented from inviwo::Logger.

◆ logProcessor()

virtual void inviwo::LogFilter::logProcessor ( Processor * processor,
LogLevel level,
LogAudience audience,
std::string_view msg,
std::string_view file,
std::string_view function,
int line )
overridevirtual

Reimplemented from inviwo::Logger.


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