From 1ae0387a255c7ec891179e3880579368b6cc588d Mon Sep 17 00:00:00 2001 From: Antony Woods Date: Tue, 20 May 2014 23:30:51 +0100 Subject: Added log level support --- crow.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'crow.h') 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 server(this, port_, concurrency_); server.run(); } + void debug_print() { - std::cerr << "Routing:" << std::endl; + CROW_LOG_DEBUG << "Routing:"; router_.debug_print(); } -- cgit v1.2.3-54-g00ecf