mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Logging reductions.
This commit is contained in:
@@ -199,7 +199,12 @@ namespace websocketpp
|
||||
|
||||
void websocketLog(websocketpp::log::alevel::value v, const std::string& entry)
|
||||
{
|
||||
if (websocketPartition.doLog(lsDEBUG))
|
||||
if (v == websocketpp::log::alevel::DEVEL)
|
||||
{
|
||||
if (websocketPartition.doLog(lsTRACE))
|
||||
Log(lsDEBUG, websocketPartition) << entry;
|
||||
}
|
||||
else if (websocketPartition.doLog(lsDEBUG))
|
||||
Log(lsDEBUG, websocketPartition) << entry;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user