Connect a slot to the print signal and return the connection
Declared in <logging.h>
[[requires_capability(0x7f2e43eec978)]]
std::list<std::function<void(std::string const&)>>::iterator
PushBackCallback(std::function<void(std::string const&)> fun);
An iterator identifying the registered callback, for later removal.
| Name | Description |
|---|---|
| fun | The callback invoked with each formatted log string. |