Skip to content

Commit

Permalink
Update example
Browse files Browse the repository at this point in the history
  • Loading branch information
geirolz committed May 26, 2024
1 parent 9dcb635 commit 56167cd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ object AppMain extends IOApp.Toolkit:
val app: App.Simple[IO, AppInfo, SelfAwareStructuredLogger, AppConfig, AppResources, AppDependencyServices] =
App[IO]
.withInfo(AppInfo.fromBuildInfo)
.withLoggerPure(Slf4jLogger.getLogger[IO])
.withLogger(Slf4jLogger.create[IO])
.withConfigF(pureconfigLoader[IO, AppConfig])
.withResources(AppResources.resource)
.dependsOnE(AppDependencyServices.resource.map(_.asRight))
Expand Down

0 comments on commit 56167cd

Please sign in to comment.