Skip to content

Refactor: Migrate from JUL to SLF4J API in SBMLinterpreter#110

Open
dyrpsf wants to merge 1 commit into
draeger-lab:masterfrom
dyrpsf:fix-issue-217-slf4j-migration
Open

Refactor: Migrate from JUL to SLF4J API in SBMLinterpreter#110
dyrpsf wants to merge 1 commit into
draeger-lab:masterfrom
dyrpsf:fix-issue-217-slf4j-migration

Conversation

@dyrpsf
Copy link
Copy Markdown
Contributor

@dyrpsf dyrpsf commented Apr 18, 2026

Overview

This PR modernizes the logging framework in SBMLinterpreter.java by migrating from Java's built-in java.util.logging (JUL) to the SLF4J API. This aligns with the broader ecosystem goal of standardizing logging across the JSBML/SBSCL libraries (as discussed in JSBML Issue #217).

Changes Made

  • Replaced java.util.logging.Logger with org.slf4j.Logger and LoggerFactory in SBMLinterpreter.java.
  • Updated logging syntax from logger.log(Level, ...) to the SLF4J standard logger.debug() and logger.warn() methods, utilizing parameterized messages {}.
  • Added the slf4j-api dependency to the root pom.xml.

Validation

  • Compiled successfully without errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants