Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logger in go #348

Closed
wants to merge 21 commits into from
Closed

Logger in go #348

wants to merge 21 commits into from

Conversation

ASHNA-AGGARWAL-KEYSIGHT
Copy link
Contributor

@ASHNA-AGGARWAL-KEYSIGHT ASHNA-AGGARWAL-KEYSIGHT commented Jul 11, 2022

resolves #346

@@ -0,0 +1,13 @@
package openapiart_test
Copy link
Contributor

Choose a reason for hiding this comment

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

move this test to pkg where other tests are present

pkg/unit_test.go Outdated
@@ -1667,11 +1667,8 @@ func TestClone(t *testing.T) {
}

func TestLogging(t *testing.T) {
openapiart.NewApi()
api := openapiart.NewApi()
api.SetLoggerLevel("info")
Copy link
Contributor

@ANISH-GOTTAPU ANISH-GOTTAPU Jul 25, 2022

Choose a reason for hiding this comment

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

change the loglevel input Ex: "info" to enum

ANISH-GOTTAPU
ANISH-GOTTAPU previously approved these changes Jul 26, 2022
@ANISH-GOTTAPU ANISH-GOTTAPU self-requested a review July 26, 2022 13:01
@ANISH-GOTTAPU ANISH-GOTTAPU dismissed their stale review July 26, 2022 13:06

As discussed, we need to add more logging in the generated SDKs

@ashutshkumr
Copy link
Contributor

Covered by #422

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.

Enable logging support in go sdk
3 participants