I am using these two logging dependences:
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<version>1.7.12</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.7.12</version>
</dependency>
and I use the logging like this:
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
private static final Logger LOG = LoggerFactory
.getLogger(PluginConfigurationParser.class);
and then inside my code, i do something like this:
if (LOG.isDebugEnabled()) {
LOG.debug("some string for me");
}
When i run the code inside eclipse( from public static void main), the code is executed but the log doesn't appear on the console. could you tell me how can i enable it?
I do know that slf4j is an api and I need the actual binding, but i am not sure if one of the two dependencies are consider a binding.
hope you be patient because of my slf4j small knowledge