|
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 |
|
| Singleton (Singleton< LogCentral > const &)=delete |
|
void | operator= (Singleton< LogCentral > const &)=delete |
|
|
static void | init () |
|
static void | init (LogCentral *instance) |
|
static LogCentral * | getPtr () |
|
static void | deleteInstance () |
|
static bool | isInitialized () |
|
◆ registerLogger()
void inviwo::LogCentral::registerLogger |
( |
std::weak_ptr< Logger > |
logger | ) |
|
Register logger for use. LogCentral does not take ownership of registered loggers.
- Parameters
-
The documentation for this class was generated from the following files:
- logcentral.h
- logcentral.cpp