McStasMcXtrace / iFit

a simple library to analyze data (with McCode and Phonons/DFT hooks). :warning: this project has been moved to https://gitlab.com/soleil-data-treatment/soleil-software-projects/remote-desktop
http://ifit.mccode.org
Other
5 stars 5 forks source link

iFit: implement a global verbosity control system #172

Closed farhi closed 5 years ago

farhi commented 5 years ago

How to do that ?

farhi commented 5 years ago

A simple and existing solution is:

which is a class that controls output according to a verbosity level. This seems efficient and would suit our needs here.

farhi commented 5 years ago

A simpler system even would be a 'verbosity' function in iFit/Applications:

farhi commented 5 years ago

We choose to use the default 'warning' Matlab system: