|
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 |
|
virtual void | logProcessor (Processor *processor, LogLevel level, LogAudience audience, std::string_view msg, std::string_view file="", std::string_view function="", int line=0) override |
|
virtual void | logNetwork (LogLevel level, LogAudience audience, std::string_view msg, std::string_view file="", std::string_view function="", int line=0) override |
|
virtual void | logAssertion (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 |
|
| Singleton (const Singleton &)=delete |
|
void | operator= (const Singleton &)=delete |
|
|
static void | init () |
|
static void | init (LogCentral *instance) |
|
static LogCentral * | getPtr () |
|
static void | deleteInstance () |
|
static bool | isInitialized () |
|
◆ 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 |
◆ logAssertion()
virtual void inviwo::LogCentral::logAssertion |
( |
std::string_view | file, |
|
|
std::string_view | function, |
|
|
int | line, |
|
|
std::string_view | msg ) |
|
overridevirtual |
◆ logNetwork()
virtual void inviwo::LogCentral::logNetwork |
( |
LogLevel | level, |
|
|
LogAudience | audience, |
|
|
std::string_view | msg, |
|
|
std::string_view | file = "", |
|
|
std::string_view | function = "", |
|
|
int | line = 0 ) |
|
overridevirtual |
◆ logProcessor()
virtual void inviwo::LogCentral::logProcessor |
( |
Processor * | processor, |
|
|
LogLevel | level, |
|
|
LogAudience | audience, |
|
|
std::string_view | msg, |
|
|
std::string_view | file = "", |
|
|
std::string_view | function = "", |
|
|
int | line = 0 ) |
|
overridevirtual |
◆ 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 file: