Skip to content

bug: lower case severity causes crash on gapic layer #283

Closed
@daniel-sanche

Description

@daniel-sanche

This code causes a crash:

logger.log_struct(logdata, resource=resource, severity="warning")

it expects severity to be "WARNING". we should make the library more forgiving if possible

Metadata

Metadata

Assignees

Labels

api: loggingIssues related to the googleapis/python-logging API.priority: p3Desirable enhancement or fix. May not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions