Starting parsing dns message
This commit is contained in:
1 parent
f2888ebc90
commit
87e8a86535
5 files changed
+46
-26
No files matched your search
@@ -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 ) {
|
||||
|
||||
Reference in new issue
Block a user