import com.gfc.logging.Logger;
import com.gfc.logging.LoggerFactory;
public class ExampleClass {
private static final Logger LOGGER = LoggerFactory.getLogger(ExampleClass.class);
public void doSomething() {
LOGGER.info("This is an example log message.");
// Perform some tasks...
}
}
import com.gfc.logging.Level;
import com.gfc.logging.Logger;
import com.gfc.logging.LoggerFactory;
public class ExampleClass {
private static final Logger LOGGER = LoggerFactory.getLogger(ExampleClass.class);
public void doSomething() {
// Perform some tasks...
}
}
logFormat=%d{yyyy-MM-dd HH:mm:ss.SSS} [%t] %-5p %c - %m%n