[slf4j-user] Using slf4j in a library project
reg4000 at googlemail.com
reg4000 at googlemail.com
Wed Jan 31 10:23:50 CET 2007
Hello,
I have a question about the usage of slf4j in a library project. I
wonder how the library can depend on slf4j-api only.
As the slf4j-documentation suggest the standard usage pattern is
1: import org.slf4j.Logger;
2: import org.slf4j.LoggerFactory;
3:
4: public class Wombat {
5:
6: final Logger logger = LoggerFactory.getLogger(Wombat.class);
The problem is that already this does not only depend on slf4j-api but
on some real implementation because of the missing of LoggerFactory in
slf4j-api.jar.
Regards
ThoMo
More information about the slf4j-user
mailing list