Add the PYSAWSIM_LOG_LEVEL environmental variable.
[sawsim.git] / pysawsim / parameter_error.py
index f56ba26da72511d93cd49590fa39177c22dd80f9..44031f249f535f8f97039e0d6e59bbf206518d7e 100644 (file)
@@ -22,6 +22,7 @@
 
 import numpy
 
+from . import PYSAWSIM_LOG_LEVEL_MSG as _PYSAWSIM_LOG_LEVEL_MSG
 from .histogram import Histogram
 from .parameter_scan import (
     EXAMPLE_HISTOGRAM_FILE_CONTENTS, HistogramMatcher,
@@ -122,6 +123,7 @@ def main(argv=None):
             '`<bin_edge>` should mark the left-hand side of the bin, and',
             'all bins should be of equal width (so we know where the last',
             'one ends).',
+            _PYSAWSIM_LOG_LEVEL_MSG,
             ])
     parser = OptionParser(usage, epilog=epilog)
     parser.format_epilog = lambda formatter: epilog+'\n'