Logging cleanup.

This commit is contained in:
JoelKatz
2013-02-24 13:47:11 -08:00
parent 3932ce95fd
commit 7b1dd394ea

View File

@@ -208,7 +208,7 @@ namespace websocketpp
void websocketLog(websocketpp::log::alevel::value v, const std::string& entry) void websocketLog(websocketpp::log::alevel::value v, const std::string& entry)
{ {
if (v == websocketpp::log::alevel::DEVEL) if ((v == websocketpp::log::alevel::DEVEL) || (v == websocketpp::log::alevel::DEBUG_CLOSE))
{ {
if (websocketPartition.doLog(lsTRACE)) if (websocketPartition.doLog(lsTRACE))
Log(lsDEBUG, websocketPartition) << entry; Log(lsDEBUG, websocketPartition) << entry;