Skip to content

Java: Add Logger#265

Merged
jonathanl-bq merged 20 commits intojava/integ_lotjonat_loggingfrom
java/dev_lotjonat_logging
May 17, 2024
Merged

Java: Add Logger#265
jonathanl-bq merged 20 commits intojava/integ_lotjonat_loggingfrom
java/dev_lotjonat_logging

Conversation

@jonathanl-bq
Copy link
Copy Markdown

The Logger implementation here is based on the Python client's implementation, with some relatively small Java/JNI specific changes.

Copy link
Copy Markdown

@Yury-Fridlyand Yury-Fridlyand left a comment

Choose a reason for hiding this comment

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

CI is red.
I think we need tests for this feature.

@Yury-Fridlyand
Copy link
Copy Markdown

We have few logging TODOs left in client code - can you complete them in scope of this PR?

@Yury-Fridlyand
Copy link
Copy Markdown

CI hung. You need to rerun spotless though.

Copy link
Copy Markdown

@acarbonetto acarbonetto left a comment

Choose a reason for hiding this comment

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

looks good - a couple of comments

public final class Logger {
// TODO: consider lazy loading the glide_rs library
static {
System.loadLibrary("glide_rs");
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I think you can remove this static loader - I don't think it doesn't anything here.

Copy link
Copy Markdown

@acarbonetto acarbonetto left a comment

Choose a reason for hiding this comment

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

Remove the extra static loadlibrary please

public final class Logger {
// TODO: consider lazy loading the glide_rs library
static {
System.loadLibrary("glide_rs");
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I think you can remove this static loader - I don't think it doesn't anything here.

@jonathanl-bq jonathanl-bq merged commit 405f9a3 into java/integ_lotjonat_logging May 17, 2024
@Yury-Fridlyand Yury-Fridlyand deleted the java/dev_lotjonat_logging branch May 17, 2024 18:30
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