From 9868a793819e7b63c17e82f17c124c88b395bf65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20D=C3=A9saulniers?= <sim.desaulniers@gmail.com> Date: Fri, 8 Apr 2016 18:35:10 -0400 Subject: [PATCH] python: enabling dht log through cython API --- python/opendht_cpp.pxd | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/python/opendht_cpp.pxd b/python/opendht_cpp.pxd index 29f9f65a..f88797c3 100644 --- a/python/opendht_cpp.pxd +++ b/python/opendht_cpp.pxd @@ -153,3 +153,9 @@ cdef extern from "opendht/dhtrunner.h" namespace "dht": vector[unsigned] getNodeMessageStats(bool i) ctypedef DhtRunner.Config Config + +cdef extern from "opendht/log.h" namespace "dht::log": + void enableLogging(DhtRunner& dht) + void disableLogging(DhtRunner& dht) + void enableFileLogging(DhtRunner& dht, const string& path) + -- GitLab