Skip to content

Commit acdf887

Browse files
authored
[docs] fix the cookbook case (#63)
1 parent 1838803 commit acdf887

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/cookbook.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ You can modify the `dict` of data that will be logged by overriding the `process
3232

3333
```python
3434
class SillyFormatter(JsonFormatter):
35-
def process_log_record(log_data):
35+
def process_log_record(self, log_data):
3636
new_record = {k[::-1]: v for k, v in log_data.items()}
3737
return new_record
3838
```

0 commit comments

Comments
 (0)