Skip to content

Best-Practice to defer logger.Sync() #1491

Open
@luggesexe

Description

@luggesexe

As seen above:

What is the best practice to handle the error (as being enforced by the IDE), if the sugar logger is not yet created and thus cant be called?

How do you handle that? Or do you just ignore defer error handling?

Kindly

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