Skip to content

Commit

Permalink
Remove duplicate logger (#96)
Browse files Browse the repository at this point in the history
  • Loading branch information
gcanti authored Dec 30, 2024
1 parent d98a42a commit 3b595aa
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 52 deletions.
5 changes: 5 additions & 0 deletions .changeset/stale-days-knock.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@effect/docgen": patch
---

Remove duplicate logger
30 changes: 0 additions & 30 deletions docs/modules/Logger.ts.md

This file was deleted.

2 changes: 1 addition & 1 deletion docs/modules/Markdown.ts.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Markdown.ts
nav_order: 8
nav_order: 7
parent: Modules
---

Expand Down
2 changes: 1 addition & 1 deletion docs/modules/Parser.ts.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Parser.ts
nav_order: 9
nav_order: 8
parent: Modules
---

Expand Down
2 changes: 1 addition & 1 deletion docs/modules/Process.ts.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Process.ts
nav_order: 10
nav_order: 9
parent: Modules
---

Expand Down
17 changes: 0 additions & 17 deletions src/Logger.ts

This file was deleted.

2 changes: 0 additions & 2 deletions src/bin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,11 @@ import * as Logger from "effect/Logger"
import * as LogLevel from "effect/LogLevel"
import { cli } from "./CLI.js"
import * as Configuration from "./Configuration.js"
import { SimpleLogger } from "./Logger.js"
import * as Process from "./Process.js"

/** @internal */
export const MainLive = Configuration.configProviderLayer.pipe(
Layer.provideMerge(Layer.mergeAll(
Logger.replace(Logger.defaultLogger, SimpleLogger),
Logger.minimumLogLevel(LogLevel.Info),
Process.layer,
NodeContext.layer
Expand Down

0 comments on commit 3b595aa

Please sign in to comment.