opsgenie / opsgenie-go-sdk-v2

Opsgenie GO SDK v2
Apache License 2.0
34 stars 63 forks source link

Vendored dependency for logrus #74

Open bebehei opened 3 years ago

bebehei commented 3 years ago

Hi all,

according to the Opsgenie docs, there is the possibility to control the LogLevel while initializing the api client.

But sadly, the used logrus is a vendored dependency for OpsGenie.

So, there is no currently possibility to pass LogLevel to the opsgenie golang library.

I'm a golang freshman and I don't understand the concept of vendored dependencies and especially their design decisions.

But I see a few ways to proceed:

What is the favorite way to solve this problem and be able to pass a LogLevel to the api client?