Module Expr Str Import alias Assign NameStore Num Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Global identifier Assign AttributeStore NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Global identifier Assign NameStore AttributeLoad NameLoad attr Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list
N/A N/A  Defaults for images and headers

error_level is the problem level (see BatteryRunners) at which an error will be
raised, by the batteryrunners ``log_raise`` method.  Thus a level of 0 will
result in an error for any problem at all, and a level of 50 will mean no errors
will be raised (unless someone's put some strange problem_level > 50 code in).

``logger`` is the default logger (python log instance)

To set the log level (log message appears for problem of level >= log level),
use e.g. ``logger.level = 40``.

As for most loggers, if ``logger.level == 0`` then a default log level is used -
use ``logger.getEffectiveLevel()`` to see what that default is.

Use ``logger.level = 1`` to see all messages.
 N/A logging N/A error_level 40 N/A logger N/A N/A logging getLogger nibabel.global N/A N/A N/A logger addHandler N/A N/A logging StreamHandler ErrorLevel N/A object N/A N/A  Context manager to set log error level
     __init__ N/A N/A self level N/A N/A N/A N/A self level level N/A __enter__ N/A N/A self N/A N/A N/A error_level N/A N/A self _original_level error_level N/A error_level N/A self level N/A __exit__ N/A N/A self exc value tb N/A N/A N/A error_level N/A error_level N/A self _original_level N/A False N/A N/A LoggingOutputSuppressor N/A object N/A N/A Context manager to prevent global logger from printing __enter__ N/A N/A self N/A N/A N/A N/A self orig_handlers N/A logger handlers N/A handler N/A self orig_handlers N/A N/A N/A N/A logger removeHandler handler N/A __exit__ N/A N/A self exc value tb N/A N/A N/A handler N/A self orig_handlers N/A N/A N/A N/A logger addHandler handler N/A N/A