[Biojava-dev] Logging Usage Policy

Douglas Myers–Turnbull dmyersturnbull at gmail.com
Fri Oct 3 16:49:44 UTC 2014


Actually, I didn't realize that MethodHandles is only available in 1.7.
I've reverted the change.

Douglas

On Fri, Oct 3, 2014 at 9:45 AM, Douglas Myers–Turnbull <
dmyersturnbull at gmail.com> wrote:

> Thanks for doing this!
>
> I think this is a good way to initialize loggers. It's less efficient (for
> a 1-time static call per class), but it would prevent mistakes where
> developers copy and paste the logger initialization line but forget to
> change the class (which definitely happens).
>
> LoggerFactory.getLogger(MethodHandles.lookup().lookupClass());
>
> I went ahead and made this change to the Google Doc.
>
> Douglas
>
> On Fri, Oct 3, 2014 at 12:40 AM, Jose Manuel Duarte <jose.duarte at psi.ch>
> wrote:
>
>>  Fantastic stuff, thanks so much Benjamin!
>>
>> Can you not access the wiki? I think it simply requires some OpenID
>> sign-in, e.g. google. One issue I had when I signed up was that the
>> confirmation email went to my spam folder in gmail, so can be worth
>> checking if that's the case.
>>
>> Cheers
>>
>> Jose
>>
>>
>>
>>
>> On 03/10/14 06:04, Benjamin Boyle wrote:
>>
>>  Started a logging usage policy at below link, as suggested in Issue
>> #155. Below location should be editable by all who have access to the link.
>> Used Google Drive as I don't have access to the Github Wiki or proposed
>> Policy location (http://www.biojava.org/wiki/BioJava3_logging).
>>
>>  Note, document is just an initial draft. A starting point. So feel free
>> to correct or edit as much as needed.
>>
>>  I imagine the final product being posted to the suggested final
>> location in Issue #155.
>>
>>
>> https://docs.google.com/document/d/1QPsBPgSn4cDCQRvJ7VXq_JFCOezdL_He1qucUuK4nhk/edit?usp=sharing
>>
>>
>> _______________________________________________
>> biojava-dev mailing listbiojava-dev at mailman.open-bio.orghttp://mailman.open-bio.org/mailman/listinfo/biojava-dev
>>
>>
>>
>> _______________________________________________
>> biojava-dev mailing list
>> biojava-dev at mailman.open-bio.org
>> http://mailman.open-bio.org/mailman/listinfo/biojava-dev
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.open-bio.org/pipermail/biojava-dev/attachments/20141003/02c2c5a6/attachment.html>


More information about the biojava-dev mailing list