Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add TraceFrom(pcs) for "on-demand" StackTrace instantiation #25

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Commits on Jan 27, 2021

  1. add TraceFrom(pcs) for "on-demand" StackTrace instantiation

    Allows to record just the pcs from runtime.Callers when an error
    occurs and convert them to a StackTrace only if the trace is actually
    needed, e.g. when printing to a log.
    
    Improves performance about 4x.
    lukseven committed Jan 27, 2021
    Configuration menu
    Copy the full SHA
    301ad14 View commit details
    Browse the repository at this point in the history