fix: add linter exceptions for current code style
This commit is contained in:
parent
9aaa97d2a1
commit
be915c8d38
3 changed files with 4 additions and 1 deletions
|
@ -10,6 +10,7 @@ import (
|
|||
)
|
||||
|
||||
func CliLoggerLayout(out io.Writer) zerolog.Logger {
|
||||
//nolint:reassign // overwriting the default caller layout with the desired layout
|
||||
zerolog.CallerMarshalFunc = func(_ uintptr, file string, line int) string {
|
||||
return fmt.Sprintf("%s:%d", filepath.Base(file), line)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue