goete111 / factorie

Automatically exported from code.google.com/p/factorie
0 stars 0 forks source link

Select and use a logging system #9

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Several library classes have diagnostic information to print at various levels 
of verbosity.  Select a 
flexible but easy-to-use logging framework and use it uniformly throughout the 
library.

Original issue reported on code.google.com by andrew.k.mccallum on 11 Dec 2009 at 12:30

GoogleCodeExporter commented 8 years ago

Original comment by andrew.k.mccallum on 20 Dec 2009 at 9:36

GoogleCodeExporter commented 8 years ago
Looks like the common practice is to use a trait, acting as a facade to a 
standard Java logging library, what do you think? 

See for example http://johlrogge.wordpress.com/2009/06/27/loggingtools-in-scala/
or 
http://github.com/davetron5000/shorty/blob/master/src/main/scala/shorty/Logs.sca
la

In any case, I would use slf4j (over log4j)

Original comment by renaud.r...@gmail.com on 22 Sep 2010 at 10:28