Skip to content

Commit

Permalink
use logger instead of println (#246)
Browse files Browse the repository at this point in the history
  • Loading branch information
xavierpinho authored Jul 31, 2024
1 parent 8e8010f commit 82cbc42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/scala/flatgraph/Graph.scala
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ object Graph {
*/
def withStorage(schema: Schema, storagePath: Path, persistOnClose: Boolean = true): Graph = {
if (Files.exists(storagePath) && Files.size(storagePath) > 0) {
println(s"initialising from existing storage ($storagePath)")
logger.info(s"initialising from existing storage ($storagePath)")
Deserialization.readGraph(storagePath, Option(schema), persistOnClose)
} else {
val storagePathMaybe =
Expand Down

0 comments on commit 82cbc42

Please sign in to comment.