aboutsummaryrefslogtreecommitdiffstats
path: root/crow.h
diff options
context:
space:
mode:
authorAntony Woods <acron1@gmail.com>2014-05-20 23:30:51 +0100
committerAntony Woods <acron1@gmail.com>2014-05-20 23:30:51 +0100
commit1ae0387a255c7ec891179e3880579368b6cc588d (patch)
tree806b8b20e50b1ac3fa3204e3be30b5f87c8fd7cf /crow.h
parentdccb246cf8ba7b5480320088a817c29a4a7c8da3 (diff)
downloadcrow-1ae0387a255c7ec891179e3880579368b6cc588d.tar.gz
crow-1ae0387a255c7ec891179e3880579368b6cc588d.zip
Added log level support
Diffstat (limited to 'crow.h')
-rw-r--r--crow.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/crow.h b/crow.h
index ade49aa..d2b71af 100644
--- a/crow.h
+++ b/crow.h
@@ -69,9 +69,10 @@ namespace crow
Server<self_t> server(this, port_, concurrency_);
server.run();
}
+
void debug_print()
{
- std::cerr << "Routing:" << std::endl;
+ CROW_LOG_DEBUG << "Routing:";
router_.debug_print();
}