Connect a slot to the print signal and return the connection

Synopsis

Declared in <logging.h>

[[requires_capability(0x7f2e43eec978)]]
std::list<std::function<void(std::string const&)>>::iterator
PushBackCallback(std::function<void(std::string const&)> fun);

Return Value

An iterator identifying the registered callback, for later removal.

Parameters

Name

Description

fun

The callback invoked with each formatted log string.

Created with MrDocs