| 203 | } |
| 204 | |
| 205 | void ConsoleSingleton::notifyPrivate( |
| 206 | const LogStyle category, |
| 207 | const IntendedRecipient recipient, |
| 208 | const ContentType content, |
| 209 | const std::string& notifiername, |
| 210 | const std::string& msg |
| 211 | ) const |
| 212 | { |
| 213 | for (ILogger* Iter : _aclObservers) { |
| 214 | if (Iter->isActive(category)) { |
| 215 | Iter->sendLog( |
| 216 | notifiername, |
| 217 | msg, |
| 218 | category, |
| 219 | recipient, |
| 220 | content |
| 221 | ); // send string to the listener |
| 222 | } |
| 223 | } |
| 224 | } |
| 225 | |
| 226 | void ConsoleSingleton::postEvent( |
| 227 | const FreeCAD_ConsoleMsgType type, |