I was going through this Tutorial for running hibernate in eclipse. The tutorial says to include slf4j-api.jar in you classpath. I could get the example to run. But i was wondering that there is no logging specific code in any of the java files in the example. Then how could the logging messages be displayed on to the console without any code. could anyone explain me the internal working of slf4j as i am new to this technology.
Why do you ask for an explanation of the internal workings of SLF4J when your real question is simply "Where would logging be coming from when the Java code I saw doesn't do any?"