Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/cookbook.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ You can modify the `dict` of data that will be logged by overriding the `process

```python
class SillyFormatter(JsonFormatter):
def process_log_record(log_data):
def process_log_record(self, log_data):
new_record = {k[::-1]: v for k, v in log_data.items()}
return new_record
```
Expand Down
Loading