Skip to content

Conversation

@chris-hoefgen
Copy link
Contributor

@chris-hoefgen chris-hoefgen commented Jun 6, 2023

Introduced a custom logging system that still defaults to stdout, but is easy for any dev to override and customize.

Given that there a half dozen "standard" packages for logging in Java with mixed interoperability, I didn't want to create a dependency for one of them in the SDK. Instead I added a simple interface that users can implement in order to redirect the SDKs log output to their own internal logging system such as Java Logging, log4j2, SLF4J, etc

This mimics a similar system we provide in the Go SDK

@chris-hoefgen chris-hoefgen marked this pull request as draft June 6, 2023 17:15
@chris-hoefgen chris-hoefgen changed the title Swapped System.out for a Logger Add customizable logging system Jun 15, 2023
@chris-hoefgen chris-hoefgen marked this pull request as ready for review June 15, 2023 22:11
@chris-hoefgen chris-hoefgen merged commit ec8cab9 into main Jun 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

3 participants