Skip to content

feat: sl4j android logger implementation - #52

Merged
gsalinaslopez merged 1 commit into
developfrom
feat/sl4j-logger
Oct 29, 2025
Merged

feat: sl4j android logger implementation#52
gsalinaslopez merged 1 commit into
developfrom
feat/sl4j-logger

Conversation

@gsalinaslopez

@gsalinaslopez gsalinaslopez commented Oct 29, 2025

Copy link
Copy Markdown
Collaborator

Context:

librespot has a sl4j logger dependency that the project is not providing an implementation for:

Screenshot_20251029_153158

Causing potential log messages from librespot to be skipped during development.

In this PR we introduce the sl4j android logger implementation via: com.gitlab.mvysny.slf4j:slf4j-handroid

Example

logging:

Screenshot_20251029_154026

which comes from the upstream librespot project: https://github.com/librespot-org/librespot-java/blob/90978c1ce60b40344e3a6f70dae560b9c9a8a818/player/src/main/java/xyz/gianlu/librespot/player/playback/PlayerQueueEntry.java#L125

LOGGER.info("Loaded track. {name: '{}', artists: '{}', duration: {}, uri: {}, id: {}}", metadata.track.getName(),

@guerman5 guerman5 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Excellent, this is a must tool for debugging.

@gsalinaslopez
gsalinaslopez merged commit c435c37 into develop Oct 29, 2025
1 check passed
@gsalinaslopez
gsalinaslopez deleted the feat/sl4j-logger branch October 29, 2025 09:48
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.

2 participants