Skip to content

Add stack trace Wrap method #1

@reindert-vetter

Description

@reindert-vetter
func (f *fundamental) Wrap(message string, args ...interface{}) *withMessage {
	return WithMessage(f, message, args...)
}

to

func (f *fundamental) Wrap(message string, args ...interface{}) *withMessage {
// if stack already exists:
        return WithMessage(f, message, args...)
// else:
	return Wrap(f, message, args...)
}

see also other 'Wrap' methods

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