Inviwo  0.9.10.1
Inviwo documentation
inviwo::LogCentral Class Reference
+ Inheritance diagram for inviwo::LogCentral:

Public Member Functions

void setVerbosity (LogVerbosity verbosity)
 
LogVerbosity getVerbosity ()
 
void registerLogger (std::weak_ptr< Logger > logger)
 Register logger for use. LogCentral does not take ownership of registered loggers. More...
 
virtual void log (std::string source, LogLevel level, LogAudience audience, const char *file, const char *function, int line, std::string msg) override
 
virtual void logProcessor (Processor *processor, LogLevel level, LogAudience audience, std::string msg, const char *file="", const char *function="", int line=0) override
 
virtual void logNetwork (LogLevel level, LogAudience audience, std::string msg, const char *file="", const char *function="", int line=0) override
 
virtual void logAssertion (const char *file, const char *function, int line, std::string msg) override
 
void setLogStacktrace (const bool &logStacktrace=true)
 
bool getLogStacktrace () const
 
void setMessageBreakLevel (MessageBreakLevel level)
 
MessageBreakLevel getMessageBreakLevel () const
 
- Public Member Functions inherited from inviwo::Singleton< LogCentral >
 Singleton (Singleton< LogCentral > const &)=delete
 
void operator= (Singleton< LogCentral > const &)=delete
 

Additional Inherited Members

- Static Public Member Functions inherited from inviwo::Singleton< LogCentral >
static void init ()
 
static void init (LogCentral *instance)
 
static LogCentralgetPtr ()
 
static void deleteInstance ()
 
static bool isInitialized ()
 

Member Function Documentation

◆ registerLogger()

void inviwo::LogCentral::registerLogger ( std::weak_ptr< Logger logger)

Register logger for use. LogCentral does not take ownership of registered loggers.

Parameters
loggerLogger to register.

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