Module Expr Str Import alias Import alias Import alias Import alias Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If BoolOpAnd NameLoad UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot AttributeLoad NameLoad attr body If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad If NameLoad body Global identifier Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr Str attr NameLoad If NameLoad body Expr Call NameLoad NameLoad Global identifier Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr Str attr NameLoad decorator_list
N/A N/A Includes logging management methods. `setup_logging` should be called when
beginning execution. The `get_logger` method should always be used for fetching
log instances.
 N/A logging N/A logging.handlers N/A os N/A socket N/A _ch None N/A _fh None N/A host N/A N/A socket gethostname _make_path N/A N/A logfile N/A N/A N/A Generates the string path `logfile` if it does not already exist.
    This will create directories-- make sure executing user has permissions.
     N/A filepath N/A N/A N/A os path dirname logfile N/A N/A filepath N/A N/A N/A N/A os path exists filepath N/A N/A N/A N/A os makedirs filepath N/A get_logger N/A N/A name N/A N/A N/A Return a log instance.
    Stream/File handlers are added based on `setup_logging`.
    name parameter should be passed as `__name__`.
     N/A logger N/A N/A logging getLogger name N/A N/A N/A logger handlers N/A N/A _ch N/A N/A N/A N/A logger addHandler _ch N/A _fh N/A N/A N/A N/A logger addHandler _fh N/A logger N/A setup_logging N/A N/A stream logfile stream_level file_level N/A True None N/A logging INFO N/A logging ERROR N/A N/A Set-up format and verbosity.
    `stream` when True will turn on stream handler.
    `logfile` when passed (string path to log), file handler is activated.
     N/A formatter N/A N/A logging Formatter N/A N/A [%(asctime)s] [%(levelname)s] {0}:%(name)s: %(message)s format host N/A stream N/A N/A _ch N/A _ch N/A N/A logging StreamHandler N/A N/A N/A _ch setLevel stream_level N/A N/A N/A _ch setFormatter formatter N/A N/A N/A N/A N/A logging getLogger addHandler _ch N/A logfile N/A N/A N/A _make_path logfile N/A _fh N/A _fh N/A N/A logging FileHandler logfile N/A N/A N/A _fh setLevel file_level N/A N/A N/A _fh setFormatter formatter N/A N/A N/A N/A N/A logging getLogger addHandler _fh N/A