Skip to content
Snippets Groups Projects
Commit 9868a793 authored by Simon Désaulniers's avatar Simon Désaulniers
Browse files

python: enabling dht log through cython API

parent 4e54ac3a
No related branches found
No related tags found
No related merge requests found
...@@ -153,3 +153,9 @@ cdef extern from "opendht/dhtrunner.h" namespace "dht": ...@@ -153,3 +153,9 @@ cdef extern from "opendht/dhtrunner.h" namespace "dht":
vector[unsigned] getNodeMessageStats(bool i) vector[unsigned] getNodeMessageStats(bool i)
ctypedef DhtRunner.Config Config 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)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment