add interface to readme
This commit is contained in:
parent
1d0e63d91c
commit
2283c0f9b8
@ -1,3 +1,5 @@
|
|||||||
## dates and their corresponding seconds been here :)
|
## dates and their corresponding seconds been here :)
|
||||||
[24-11-15]
|
[24-11-15]
|
||||||
u80864958_at_u80864958 = 979
|
u80864958_at_u80864958 = 979
|
||||||
|
[25-03-11]
|
||||||
|
schreifuchs_at_archibald = 195
|
||||||
|
23
README.md
23
README.md
@ -1,3 +1,24 @@
|
|||||||
# logger
|
# logger
|
||||||
|
|
||||||
Just a simple logger
|
Just a simple logger
|
||||||
|
|
||||||
|
## Logger interfaces
|
||||||
|
Full:
|
||||||
|
```go
|
||||||
|
type Logger interface {
|
||||||
|
Debug(a ...any)
|
||||||
|
Debugf(format string, a ...any)
|
||||||
|
|
||||||
|
Info(a ...any)
|
||||||
|
Infof(format string, a ...any)
|
||||||
|
|
||||||
|
Warn(str ...any)
|
||||||
|
Warnf(format string, a ...any)
|
||||||
|
|
||||||
|
Error(a ...any)
|
||||||
|
Errorf(format string, a ...any)
|
||||||
|
|
||||||
|
Fatal(code int, a ...any)
|
||||||
|
Fatalf(code int, format string, a ...any)
|
||||||
|
}
|
||||||
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user