onflow / cadence-tools

Developer tools for Cadence
https://www.onflow.org/
Apache License 2.0
24 stars 20 forks source link

[Test] Add WithLogger to TestRunner and default to zerolog.Nop() #267

Closed jribbink closed 8 months ago

jribbink commented 8 months ago

Closes #269

Description

Adds a WithLogger option to the test runner and defaults to suppressed logs if none is provided (could also output to stdio if preferred, but emulator uses the suppress-if-not-provided pattern already so it felt intuitive to follow this).

I noticed that master is now on stable-cadence -- not exactly sure which branch I should be targeting to get these changes into pre-cadence-1.0 release (cc @turbolent)


jribbink commented 8 months ago

Sounds good, will do 👍