micronaut-projects / micronaut-gcp

Integration between Micronaut and Google Cloud Platform (GCP)
Apache License 2.0
50 stars 35 forks source link

Map Logback log levels to allowed GCP Stackdriver severities #1141

Closed jjathman closed 4 months ago

jjathman commented 4 months ago

Map the native Logback log levels to the allowed GCP Stackdriver logging severities. Also provides a sensible default if the log levels ever has an unexpected value in it.

Added an initial spec as well.

Fixes: https://github.com/micronaut-projects/micronaut-gcp/issues/1130

graemerocher commented 4 months ago

Thanks for the contribution