![]() |
Ginkgo
Generated from pipelines/238965899 branch based on develop. Ginkgo version 1.3.0
A numerical linear algebra library targeting many-core architectures
|
EnableLogging is a mixin which should be inherited by any class which wants to enable logging. More...
#include <ginkgo/core/log/logger.hpp>
Public Member Functions | |
void | add_logger (std::shared_ptr< const Logger > logger) override |
Adds a new logger to the list of subscribed loggers. More... | |
void | remove_logger (const Logger *logger) override |
Removes a logger from the list of subscribed loggers. More... | |
EnableLogging is a mixin which should be inherited by any class which wants to enable logging.
All the received events are passed to the loggers this class contains.
|
inlineoverridevirtual |
Adds a new logger to the list of subscribed loggers.
logger | the logger to add |
Implements gko::log::Loggable.
|
inlineoverridevirtual |
Removes a logger from the list of subscribed loggers.
logger | the logger to remove |
Implements gko::log::Loggable.