Skip to content

Commit 78984c2

Browse files
committed
add debug pattern to warningPatterns and remove redundant entry from infoPatterns
1 parent c24d4ee commit 78984c2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

messagetype.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,13 @@ var (
4141
[]byte("undeclared"), []byte("undefined"), []byte("fatal"),
4242
}
4343
warningPatterns = [][]byte{
44-
[]byte("warning"), []byte("warn"),
44+
[]byte("warning"), []byte("warn"), []byte("debug"),
4545
}
4646
successPatterns = [][]byte{
4747
[]byte("success"), []byte("completed"), []byte("successful"), []byte("done"),
4848
}
4949
infoPatterns = [][]byte{
50-
[]byte("info"), []byte(" ..."), []byte("starting"), []byte("initializing"),
50+
[]byte("info"), []byte("starting"), []byte("initializing"),
5151
}
5252
)
5353

0 commit comments

Comments
 (0)