Logging (mpdaf.log
)¶
When imported, MPDAF initialize a logger by default. This logger uses the
logging
module, and log messages to stderr, for instance for the .info()
methods.
It is possible to remove this logger with clear_loggers
, and to
use setup_logging
to setup a logger with a different level or
format. setup_logfile
can also be used to setup a logger with
a file.