You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should allow users to instantiate WasiPreview without an explicit logger.
As a follow-up question, possibly answered contextually to this issue, should we have a global SystemLogger public default instance? I would argue we should.
So, instead of having users to specify new SystemLogger(); the SystemLogger would:
In most places in this codebase, we locked down the instantiation of objects using builders, one option is to do the same in this context offering a consistent API experience to users.
WasiPreview
without an explicit logger.So, instead of having users to specify
new SystemLogger()
; theSystemLogger
would:then
WasiPreview1
could expose an empty constructor:The text was updated successfully, but these errors were encountered: