LoggerCategories¶
- class hoomd.logging.LoggerCategories(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)¶
Bases:
FlagEnum that marks all accepted logger types.
The attribute names of
LoggerCategoriesare valid strings for the category argument ofLoggerconstructor and thelog()method.- sequence¶
Sequence (e.g.
list,tuple,numpy.ndarray) of numbers of the same type.
- object¶
Any Python object outside a sequence, string, or scalar.
- angle¶
Per-angle quantity.
- bond¶
Per-bond quantity.
- constraint¶
Per-constraint quantity.
- dihedral¶
Per-dihedral quantity.
- improper¶
Per-improper quantity.
- pair¶
Per-pair quantity.
- particle¶
Per-particle quantity.
- ALL¶
A combination of all other categories.
- NONE¶
Represents no category.
- classmethod any(categories=None)¶
Return a LoggerCategories enum representing any of the categories.
- Parameters:
categories (
list[str] orlist[LoggerCategories]) – A list ofstrorLoggerCategoriesobjects that should be represented by the returnedLoggerCategoriesobject.- Returns:
the
LoggerCategoriesobject that represents any of the given categories.- Return type: