morpho.utilities.morphologging module¶
Some template vars¶
Members: getLogger
Functions:
Classes:
Morpho logging utilities Authors: J. Johnston, M. Guigue Date: 02/22/18
Summary¶
Data:
Reference¶
-
morpho.utilities.morphologging.
getLogger
(name, stderr_lb=40, level=10, propagate=False)[source]¶ Return a logger object with the given settings that prints messages greater than or equal to a given level to stderr instead of stdout name: Name of the logger. Loggers are conceptually arranged
in a namespace hierarchy using periods as separators. For example, a logger named morpho is the parent of a logger named morpho.plot, and by default the child logger will display messages with the same settings as the parent- stderr_lb: Messages with level equal to or greaterthan stderr_lb
- will be printed to stderr instead of stdout
level: Initial level for the logger propagate: Whether messages to this logger should be passed to
the handlers of its ancestor