Skip to content

Commit

Permalink
move Logger.pretty (#178)
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-smart authored Aug 8, 2024
1 parent ee0696e commit 8f05b75
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,11 @@ const MainLive = Layer.mergeAll(
IssueifierLive,
RemindersLive,
Summarizer.Live,
).pipe(
Layer.provide(TracingLive),
Layer.provide(LogLevelLive),
Layer.provide(Logger.pretty),
)
).pipe(Layer.provide(TracingLive), Layer.provide(LogLevelLive))

pipe(
Layer.launch(MainLive),
Effect.tapErrorCause(Effect.logError),
Effect.provide(Logger.pretty),
Effect.runFork,
)

0 comments on commit 8f05b75

Please sign in to comment.