Synthetixio / simulation

Agent-based model of the proposed stablecoin.
24 stars 18 forks source link

Debug mode #54

Closed 0xdomrom closed 6 years ago

0xdomrom commented 6 years ago

As we are deploying the model on a web server, we really need to consider adding a debug mode for more in depth logging, having different max values (i.e. deployed app maxes out at 6, but debug goes to 20), potentially showing more graphs and not being affected by google analytics.

0xdomrom commented 6 years ago

Could try to have a way of muting exceptions when not in debug mode

zyzek commented 6 years ago

We could consider python's logging module. You set the verbosity, which effects the logging/warning/exception behaviour.

Actually I'm not super sure about the exception part.

0xdomrom commented 6 years ago

Basic functionality for this was added with the settings file (no in depth logging) #100