Skip to content

Commit ad1d61a

Browse files
authored
add logging methods for different levels (gofr-dev#727)
1 parent fe887d8 commit ad1d61a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

pkg/gofr/migration/logger.go

+8
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
11
package migration
22

33
type Logger interface {
4+
Debug(args ...interface{})
5+
Debugf(format string, args ...interface{})
46
Info(args ...interface{})
57
Infof(format string, args ...interface{})
8+
Notice(args ...interface{})
9+
Noticef(format string, args ...interface{})
10+
Warn(args ...interface{})
11+
Warnf(format string, args ...interface{})
612
Error(args ...interface{})
713
Errorf(format string, args ...interface{})
14+
Fatal(args ...interface{})
15+
Fatalf(format string, args ...interface{})
816
}

0 commit comments

Comments
 (0)