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
Please describe the new feature you'd like to see.
Hi! I'd like disable all informational netpyneprint() statements.
Right now I resort to suppressing standard output (e.g. when I use netpyne with sciunit):
Describe the solution you'd like
I'd like netpyne to use the logging package instead of prints, as in:
Another good option is to make wider use of sim.cfg.verbose, though it may be hard to track whether all print statements are preceeded with if sim.cfg.verbose:, and users will have to use netpyne's verbose option instead of the standard getLogger().setLevel().
The text was updated successfully, but these errors were encountered:
Please describe the new feature you'd like to see.
Hi! I'd like disable all informational
netpyne
print()
statements.Right now I resort to suppressing standard output (e.g. when I use
netpyne
withsciunit
):Describe the solution you'd like
I'd like
netpyne
to use thelogging
package instead ofprint
s, as in:So that a user can disable it with:
Describe alternatives you've considered
Another good option is to make wider use of
sim.cfg.verbose
, though it may be hard to track whether all print statements are preceeded withif sim.cfg.verbose:
, and users will have to use netpyne'sverbose
option instead of the standardgetLogger().setLevel()
.The text was updated successfully, but these errors were encountered: