Skip to content

Added stackdriver severity compatibility, fixed panic logging#9

Merged
balboah merged 1 commit intojoonix:masterfrom
crystal-construct:support-stackdriver
Jan 30, 2019
Merged

Added stackdriver severity compatibility, fixed panic logging#9
balboah merged 1 commit intojoonix:masterfrom
crystal-construct:support-stackdriver

Conversation

@andreib1
Copy link

The previous implementation logrus log levels are used as raw string values. This will will not output logrus panics as a correct FluentD log level value. In addition warning levels are not outputting the correct FluentD warning level 'warn'.

This PR also addresses the fact that google changed the severity level names and casing requirements in their stack driver implemetation. To transparently facilitate this, I added the UseStackdriverSeverity package level function.

Copy link
Member

@balboah balboah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your contribution!

@balboah balboah merged commit f5f0562 into joonix:master Jan 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants