Starting parsing dns message

This commit is contained in:
Suraxius committed 2021-04-20 21:39:44 +02:00
1 parent f2888ebc90
commit 87e8a86535
5 files changed
+46 -26

No files matched your search

+10
View File
@@ -134,6 +134,16 @@ Logger::Sink& Logger::Sink::operator<<(const int msg) {
return *this;
}
Logger::Sink& Logger::Sink::operator<<(const unsigned msg) {
_parent._mutex.try_lock();
if ( _level >= _parent._logLevel ) {
prefixLine();
*(_parent._output) << msg;
cout << msg;
}
return *this;
}
Logger::Sink& Logger::Sink::operator<<(const long msg) {
_parent._mutex.try_lock();
if ( _level >= _parent._logLevel ) {