Skip to content
This repository was archived by the owner on Nov 13, 2023. It is now read-only.

Commit 44c1c83

Browse files
committed
dce
1 parent 4c93383 commit 44c1c83

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/Log_.re

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ module Color = {
7272
);
7373
};
7474

75+
[@dead "Color.error"]
7576
let error = (ppf, s) => Format.fprintf(ppf, "@{<error>%s@}", s);
7677
let info = (ppf, s) => Format.fprintf(ppf, "@{<info>%s@}", s);
7778
};
@@ -163,10 +164,6 @@ module Loc = {
163164
};
164165
};
165166

166-
let log = x => {
167-
Format.fprintf(Format.std_formatter, x);
168-
};
169-
170167
let item = x => {
171168
Format.fprintf(Format.std_formatter, " ");
172169
Format.fprintf(Format.std_formatter, x);
@@ -187,5 +184,3 @@ let logKind = (body, ~color, ~loc, ~name) => {
187184

188185
let info = (body, ~loc, ~name) =>
189186
logKind(body, ~color=Color.info, ~loc, ~name);
190-
let error = (body, ~loc, ~name) =>
191-
logKind(body, ~color=Color.error, ~loc, ~name);

0 commit comments

Comments
 (0)