Delete a connection */
| 208 | |
| 209 | /** Delete a connection */ |
| 210 | void DeleteCallback(std::list<std::function<void(const std::string&)>>::iterator it) |
| 211 | { |
| 212 | StdLockGuard scoped_lock(m_cs); |
| 213 | m_print_callbacks.erase(it); |
| 214 | } |
| 215 | |
| 216 | /** Start logging (and flush all buffered messages) */ |
| 217 | bool StartLogging(); |