included code from com.weiglewilczek.slf4s because the library is not
available online for Scala 2.10 in any Maven repository