We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10ea0dd commit 6209b3aCopy full SHA for 6209b3a
annotated_logger/plugins.py
@@ -162,11 +162,11 @@ def filter(self, record: logging.LogRecord) -> bool:
162
for k, v in record.__dict__.items()
163
if k not in self.base_attributes and k not in self.attributes_to_exclude
164
}
165
- record.__dict__["added_attributes"] = added_attributes
+ record.added_attributes = added_attributes
166
name = record.levelname.lower()
167
if name == "info": # pragma: no cover
168
name = "notice"
169
- record.__dict__["github_annotation"] = f"{name}::"
+ record.github_annotation = f"{name}::"
170
171
return True
172
0 commit comments