Skip to content

Commit

Permalink
fix(typescript): set correct type for logFormat
Browse files Browse the repository at this point in the history
  • Loading branch information
gr2m committed Nov 19, 2020
1 parent 221b1a3 commit aae3613
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import { Transform } from "readable-stream";

export type LogLevel = "trace" | "debug" | "info" | "warn" | "error" | "fatal";

export type Options = {
logFormat?: "trace" | "debug" | "info" | "warn" | "error" | "fatal";
logFormat?: "json";
logLevelInString?: boolean;
sentryDsn?: string;
};
Expand Down

0 comments on commit aae3613

Please sign in to comment.