InstanceFilter
#
- class ansys.mechanical.core.logging.InstanceFilter(name='')#
Bases:
logging.Filter
Ensures that the instance name record always exists.
Overview#
Check the log record and return |
Import detail#
from ansys.mechanical.core.logging import InstanceFilter
Method detail#
- InstanceFilter.filter(record)#
Check the log record and return
True
to log it orFalse
to discard it.