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.
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.