#Request for a method to flush events and logs from env.logs().all() and env.events().all()

4 messages · Page 1 of 1 (latest)

wispy egret
#

I'm finding myself looking at logs and events during the course of a test but both are cumulative for the lifespan of the env which makes it somewhat unrealistic and difficult to parse. It would be nice to have a reset or flush method for both events and logs to clear out their respective vectors

neon glacier
#

plus1 here - it's especially annoying for tests with a lot of setup involved, as its time consuming to parse where the setup events stop and the the actual test events begin

desert frost
#

I don't think we ever need to not reset the events, budget, and auth, thus the plan is to make this default (and only) behavior