LoggerCategories¶
- class hoomd.logging.LoggerCategories(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)¶
Bases:
Flag
Enum that marks all accepted logger types.
The attribute names of
LoggerCategories
are valid strings for the category argument ofLogger
constructor 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 ofstr
orLoggerCategories
objects that should be represented by the returnedLoggerCategories
object.- Returns:
the
LoggerCategories
object that represents any of the given categories.- Return type: