qml.logging.LocalProcessFilter
-
class LocalProcessFilter[source]
Bases: logging.Filter
Filters logs not originating from the current executing Python process ID.
filter (record)
|
Determine if the specified record is to be logged. |
-
filter(record)[source]
Determine if the specified record is to be logged.
Returns True if the record should be logged, or False otherwise.
If deemed appropriate, the record may be modified in-place.
code/api/pennylane.logging.LocalProcessFilter