MCPcopy Create free account
hub / github.com/Martchus/syncthingtray / hasLoggingCallback

Function hasLoggingCallback

syncthing/interface.cpp:146–149  ·  view source on GitHub ↗

! * \brief Returns whether a logging callback has been set via setLoggingCallback(). */

Source from the content-addressed store, hash-verified

144 * \brief Returns whether a logging callback has been set via setLoggingCallback().
145 */
146bool hasLoggingCallback()
147{
148 return static_cast<bool>(loggingCallback);
149}
150
151/*!
152 * \brief Sets the callback function for logging. It will be called when a new log message becomes available.

Callers 1

runLibSyncthingMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected