Skip to content

Commit

Permalink
Log which importer was used
Browse files Browse the repository at this point in the history
  • Loading branch information
davidkleiven committed Mar 10, 2024
1 parent e4de93f commit 7b054c3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/Solver.kt
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ fun networkFromFileContent(content: FileContent): Network {
val dataSource = content.asReadOnlyMemDataSource()
val importer = Importer.find(dataSource, loader, computationManager, importConfig)
if (importer != null) {
logger.info { "Loading file using importer ${importer.javaClass}" }
val networkFactory = NetworkFactory.findDefault()
return importer.importData(dataSource, networkFactory, null, reporter)
}
Expand Down

0 comments on commit 7b054c3

Please sign in to comment.