Skip to content

Utilize "no operation" Types Within zap and tally. #28

@fr33r

Description

@fr33r

Description

Currently there is some boilerplate code that checks whether a logger or a metric scope has been provided to the work units. Instead, this code can be simplified if the "no operation" type from zap ( zap.NewNop() ) and tally ( tally.NoopScope ).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions