Inviwo 0.9.12-pre
Inviwo documentation
 
Loading...
Searching...
No Matches
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.
 
virtual void log (std::string_view source, LogLevel level, LogAudience audience, std::string_view file, std::string_view function, int line, std::string_view 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 (const Singleton &)=delete
 
void operator= (const Singleton &)=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

◆ log()

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

Implements inviwo::Logger.

◆ 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 file: