Skip to content

Commit

Permalink
Review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
srikanthccv committed Jun 8, 2021
1 parent fc12a1d commit b86348d
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions opentelemetry-sdk/src/opentelemetry/sdk/logs/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,18 +58,7 @@ def __init__(
def __eq__(self, other: object) -> bool:
if not isinstance(other, LogRecord):
return NotImplemented
return (
self.timestamp == other.timestamp
and self.trace_id == other.trace_id
and self.span_id == other.span_id
and self.trace_flags == other.trace_flags
and self.severity_text == other.severity_text
and self.severity_number == other.severity_number
and self.name == other.name
and self.body == other.body
and self.resource == other.resource
and self.attributes == other.attributes
)
return self.__dict__ == other.__dict__


class LogData:
Expand Down

0 comments on commit b86348d

Please sign in to comment.