renepickhardt / generalized-language-modeling-toolkit

Generalized Language Modeling toolkit
http://glm.rene-pickhardt.de
51 stars 17 forks source link

Transition to SLF4J #72

Closed lschmelzeisen closed 9 years ago

lschmelzeisen commented 9 years ago

Investiagate wether it is possible to switch our logging statements to SLF4J.

Things to look at:

Because of that I think we will still have to use Log4j as a backbone, but maybe it is possible to decouple logging code from it.

lschmelzeisen commented 9 years ago

Rejected, as SLF4J's Logger don't supportd String#format style formatting (%s, etc..) but only {} style.

lschmelzeisen commented 9 years ago

Worked around SLF4j {} style formatting by introducing our own wrapper class around Logger.