Skip to content
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -290,8 +290,8 @@ def __init__(self):
def log_struct(self, info, severity=logging.INFO, resource=None):
from google.cloud.logging.logger import _GLOBAL_RESOURCE

if resource is None:
resource = _GLOBAL_RESOURCE
assert resource is None
resource = _GLOBAL_RESOURCE

self.log_struct_called_with = (info, severity, resource)
self.entries.append(info)
Expand Down