Skip to content

Bloc Prints based on .env

Justin Sauer requested to merge jsar97/tc_frontend:bloc_prints_env into master

Add the ability to toggle which blocs get prints in your personal .env file.

This now looks for a map like this: BLOC_DEBUG={"AuthBloc": true, "UserBloc": {"onEvent": true, "onTransition": true}} in .env.

If this file isn't found, every Bloc gets its normal debug prints.

TCBlocDelegate now also provides a printout of the loaded config on startup. closes #216 (closed)

Edited by Justin Sauer

Merge request reports