pytmosph3r.log.logger

@author: A. Falco

Logging module,

inspired from TauREX 3 (https://github.com/ucl-exoplanets/TauREx3_public/tree/master/taurex/log).

Module Contents

root_logger
class Logger(name=None)[source]

Bases: pytmosph3r.util.memory.MemoryUtils

Standard logging using logger library

Parameters:

name (str) – Name used for logging

verbose = 0
info(message, *args, **kwargs)[source]

See logging.Logger

warning(message, *args, **kwargs)[source]

See logging.Logger

debug(message, *args, **kwargs)[source]

See logging.Logger

error(message, *args, **kwargs)[source]

See logging.Logger

critical(message, *args, **kwargs)[source]

See logging.Logger

isEnabledFor(level)[source]
search_path(filename)[source]

Search for filename in current folder, then in relative_dir, and finally in the examples/ folder of the pytmosph3r code. It then set the attribute filename to its path.

inputs()[source]
inputs_values()[source]
summary()[source]

Prints all attributes and values of object. WARNING: could be verbose.