Skip to content

filename.go doesn't include Func name in the log - is this intentional? #4

@AdamEr8

Description

@AdamEr8

Formatter: func(file, function string, line int) string {
return fmt.Sprintf("%s:%d", file, line)

Hi,
Although the function name is now available, the formatter doesn't use it.
Would be nice if it did 👍
(if some users feel like it is too cumbersome and prefer only file+line, maybe should introduce a separate one that is identical to filename.go except for including the func name in the log)

any thoughts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions