<dependency>
<groupId>com.github.gfc-xx</groupId>
<artifactId>gfc-logging</artifactId>
<version>1.0.0</version>
</dependency>
properties
logging.output=file
logging.file.path=/path/to/log/file.log
logging.level=info
import com.gfc.logging.Logger;
import com.gfc.logging.LoggerFactory;
public class MyClass {
private static final Logger LOGGER = LoggerFactory.getLogger(MyClass.class);
public void doSomething() {
LOGGER.info("This is an info log message.");
LOGGER.error("This is an error log message.");
}
}