dylibso / observe-sdk

Continuous runtime observablity SDKs to monitor WebAssembly code.
https://dev.dylibso.com/docs/observe/overview
Apache License 2.0
156 stars 7 forks source link

Warning messaging #145

Open G4Vi opened 9 months ago

G4Vi commented 9 months ago

Working on Updated Versioning. I added deprecation warnings for the old namespace dylibso_observe. However, I'm not sure they are going the right place or actually making it to the observe-sdk user across the languages and adapters. We should decide on a consistently policy for this and apply it everywhere.

Currently, the rust sdk outputs with log::warn! and the basic example is setup to by default log with warnings.

The go-sdk outputs to the standard logger with log.Println.

The js-sdk outputs with console.warn.