Skip to content

missing Close Method #10

@jackhalf

Description

@jackhalf

error:
D:\Go\pkg\mod\github.com\toolkits\[email protected]\logger\config.go:37:32: cannot use sb (variable of type *syslogBackend) as type Backend in argument to log.SetLogging:
*syslogBackend does not implement Backend (missing Close method)
have close()
want Close()

please fix the code with Close() not close()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions