# `LogFilter`

digraph inheritance28147875c5 { bgcolor=transparent; rankdir=UD; ratio=compress; size="8.0, 12.0"; "Filter" [color=dodgerblue1,fillcolor=white,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded,tooltip="Filter instances are used to perform arbitrary filtering of LogRecords."]; "LogFilter" [URL="#taurus.core.util.log.LogFilter",color=dodgerblue1,fillcolor=white,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded,target="_top",tooltip="Experimental log filter"]; "Filter" -> "LogFilter" [arrowsize=0.5,style="setlinewidth(0.5)"]; }

class LogFilter(level)

  Experimental log filter

  Import from `taurus.core.util.log` as:

      from taurus.core.util.log import LogFilter

  filter(record)

    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.