holochain / org

Organizational Repo for project-wide tickets
http://holochain.org
11 stars 1 forks source link

Context: Container -> HC (for logging) #99

Open lucksus opened 6 years ago

lucksus commented 6 years ago

We need to find a way to pass the context (logger and in the future DHT, Chain databases) from the Container into the HC instance.

For the case of the logger this is relevant already since the C-bindings to return any error messages. If something breaks inside HC we either don't see that from HoloSqape or we need to put println!s in the Rust code for debugging.

As a first step it would be good to have a logger instantiated on the container side and inject that into HC.