# \_ContextInjectingFilter<!-- -->

Filter that injects current log context into all log records.

## Index[**](#Index)

### Methods

* [**filter](https://docs.apify.com/api/client/python/reference/class/_ContextInjectingFilter.md#filter)

## Methods<!-- -->[**](#Methods)

### [**](#filter)filter

* ****filter**(record): bool

- Add log context variables to the record.

  ***

  #### Parameters

  * ##### record: logging.LogRecord

  #### Returns bool
