Fabric API

Fabric API

106M Downloads

Standardize using one logger factory method

haykam821 opened this issue ยท 0 comments

commented

Currently, a mix of SLF4J's LoggerFactory.getLogger and Mojang's LogUtils.getLogger are used within Fabric API to construct loggers. While most loggers are constructed using the former method, the latter method seems to be used only three times:

private static final Logger LOGGER = LogUtils.getLogger();

Ideally, Fabric API should stick to using one of these methods. The least impactful refactor would to replace LogUtils.getLogger usage with LoggerFactory.getLogger.