bumptech / bumptech/glide

Custom Logger

Open
#183 7 comments 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
35k
Forks
6.2k
Avg merge
1d 11h
Merged PRs (30d)
8

Description

Hi Sam and other contributors,
Great job. Keep it up!

I have a feature suggestion. Would be nice to be able to provide a log listener and a log level. It's useful in cases when you want to collect and send logs to the server, and you use for this a custom logger. So it can be something like this:

``` java
Glide.get(this)
.setLogLevel(FULL)
.setLogListener(new LogListener() {
@Override
public void log(String message) {
}
}
```

Or maybe something more precise:

``` java
public void log(LogLevel level, String message)
```

Contributor guide

Open the contributing guide

Research direction

Start by locating Glide.get and the existing logging implementation and configuration points. Review the issue's proposed LogListener and log-level APIs; done means callers can configure both and receive log messages with the selected level, with tests covering the new behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
mobile-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.