a_logger

(function from pyomo.contrib.gdpopt.util)

pyomo.contrib.gdpopt.util.a_logger(str_or_logger)[source]

Returns a logger when passed either a logger name or logger object.