aboutsummaryrefslogtreecommitdiffstats
path: root/include/routing.h
diff options
context:
space:
mode:
authoripknHama <ipknhama@gmail.com>2014-08-16 11:55:26 +0900
committeripknHama <ipknhama@gmail.com>2014-08-16 11:55:26 +0900
commitef51b97d8b5647a2a474b382e8772711cdfd8327 (patch)
tree2cdd483b0cd569d6a66bf760d54ad0b15fd4c8fb /include/routing.h
parentc5cbb3ff54119855e63dff9666fd490a92f0db76 (diff)
downloadcrow-ef51b97d8b5647a2a474b382e8772711cdfd8327.tar.gz
crow-ef51b97d8b5647a2a474b382e8772711cdfd8327.zip
Change to custom timer implementation to increase performance
Diffstat (limited to 'include/routing.h')
-rw-r--r--include/routing.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/routing.h b/include/routing.h
index 28700c1..b07c2c3 100644
--- a/include/routing.h
+++ b/include/routing.h
@@ -125,9 +125,8 @@ namespace crow
);
return;
}
-#ifdef CROW_ENABLE_LOGGING
- std::cerr << "ERROR cannot find handler" << std::endl;
-#endif
+ CROW_LOG_DEBUG << "ERROR cannot find handler" << std::endl;
+
// we already found matched url; this is server error
cparams.res = response(500);
}