Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: go-logr/logr
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.2.1
Choose a base ref
...
head repository: go-logr/logr
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.2.2
Choose a head ref
  • 3 commits
  • 2 files changed
  • 2 contributors

Commits on Dec 5, 2021

  1. funcr: Prevent stack overflow on recursive structs

    Add a new Option `MaxLogDepth` which  tells funcr how many levels of
    nested fields (e.g. a struct that contains a struct that contains a
    struct, etc.) it may log.  Every time it finds a struct, slice, array,
    or map the depth is increased by one.  When the maximum is reached, the
    value will be converted to a string indicating that the max depth has
    been exceeded.  If this field is not specified, a default value will be
    used.
    thockin committed Dec 5, 2021
    Configuration menu
    Copy the full SHA
    dcef86d View commit details
    Browse the repository at this point in the history
  2. Fix some internal names

    thockin committed Dec 5, 2021
    Configuration menu
    Copy the full SHA
    2ccfbf6 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #124 from thockin/master

    funcr: Prevent stack overflow on recursive structs
    pohly authored Dec 5, 2021
    Configuration menu
    Copy the full SHA
    99e02a9 View commit details
    Browse the repository at this point in the history
Loading