Skip to content

Commit f8822dc

Browse files
committed
chore(smithy-client): add no-op logger (#4172)
1 parent 24ec718 commit f8822dc

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import { Logger } from "@aws-sdk/types";
2+
3+
export class NoOpLogger implements Logger {
4+
public trace() {}
5+
public debug() {}
6+
public info() {}
7+
public warn() {}
8+
public error() {}
9+
}

packages/smithy-client/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
export * from "./NoOpLogger";
12
export * from "./client";
23
export * from "./command";
34
export * from "./constants";

0 commit comments

Comments
 (0)