Skip to content

Commit

Permalink
replace println with logger #279
Browse files Browse the repository at this point in the history
  • Loading branch information
bossie committed Apr 3, 2024
1 parent 9982fcc commit f8e9832
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1123,7 +1123,7 @@ class FileLayerProvider private(openSearch: OpenSearchClient, openSearchCollecti
}
.filter { case (spaceTimeKey, (rasterRegion, sourceName)) =>
val canRead = rasterRegion.isDefined
if (!canRead) println(s"no RasterRegion for $spaceTimeKey in $sourceName")
if (!canRead) logger.warn(s"no RasterRegion for $spaceTimeKey in $sourceName")
canRead
}
.map { case (spaceTimeKey, (Some(rasterRegion), sourceName)) => (spaceTimeKey, (rasterRegion, sourceName)) }
Expand Down

0 comments on commit f8e9832

Please sign in to comment.