I created a log4j-api-android module on branch “android”. It contains an 
AndroidLogger that logs to android.util.Log.  I have not built it on Android or 
tested it.  Can you give it a whirl?

Ralph

> On Jul 9, 2017, at 5:11 PM, Gary Gregory <[email protected]> wrote:
> 
> On Jul 9, 2017 16:59, "Ralph Goers" <[email protected]> wrote:
> 
> 
>> On Jul 9, 2017, at 2:42 PM, Gary Gregory <[email protected]> wrote:
>> 
>> On Sun, Jul 9, 2017 at 1:29 PM, Matt Sicker <[email protected]> wrote:
>> 
>>> Suppose we have an Android-specific api jar. Then when an Android
> developer
>>> gets log4j-api transitively, what now? I don't see normal libraries using
>>> log4j-api-android or something instead of the standard one.
>>> 
>> 
>> I am not advocating for an Android jar unless it is support things like,
>> for example, logging to internal storage through the location provided by
>> https://developer.android.com/reference/android/content/
> Context.html#getFilesDir()
>> 
> 
> I would have no problem having an Android jar that contains the api and
> some android specific implementation.
> 
> 
> Great, but as of now, we cannot have that until current log4j-api jar is
> changed.
> 
> Gary
> 
> 
> Ralph


Reply via email to