From 8303f98fe3cd6fa6ed60263676fa6b4a3beddeac Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Mon, 25 May 2020 11:26:11 +0800 Subject: [PATCH] =?UTF-8?q?udplog=20=E6=B7=BB=E5=8A=A0deubg=20pirntf?= =?UTF-8?q?=E8=BE=93=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- a8/udplog.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/a8/udplog.cc b/a8/udplog.cc index 9e98825..001f8d8 100644 --- a/a8/udplog.cc +++ b/a8/udplog.cc @@ -38,7 +38,9 @@ namespace a8 impl_->save_cond = new std::condition_variable(); impl_->log_level = 0; - impl_->debuging = false; + #ifdef DEBUG + impl_->debuging = true; + #endif impl_->top_node = nullptr; impl_->bot_node = nullptr; impl_->work_node = nullptr;