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 WithStacktrace untility #118

Merged
merged 2 commits into from
Aug 3, 2021
Merged

Add WithStacktrace untility #118

merged 2 commits into from
Aug 3, 2021

Conversation

Kubuxu
Copy link
Member

@Kubuxu Kubuxu commented Jul 28, 2021

Doesn't have to get merged. I'm looking through git history for this sometimes so it may be useful to other people.

log.go Outdated Show resolved Hide resolved
Doesn't have to get merged, I know I'm looking for it sometimes so it is
good to have knowhow about it somewhere.

Signed-off-by: Jakub Sztandera <[email protected]>
Copy link
Member

@Stebalien Stebalien left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've definitely wanted this.

log.go Outdated Show resolved Hide resolved
Signed-off-by: Jakub Sztandera <[email protected]>
@Stebalien Stebalien merged commit fbad710 into master Aug 3, 2021
@Stebalien Stebalien deleted the feat/with-stacktrace branch August 3, 2021 17:26
github-actions bot referenced this pull request in kairos-io/provider-kairos Apr 19, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [github.com/ipfs/go-log](https://togithub.com/ipfs/go-log) | `v1.0.5`
-> `v2.5.1` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fipfs%2fgo-log/v2.5.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fipfs%2fgo-log/v2.5.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fipfs%2fgo-log/v1.0.5/v2.5.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fipfs%2fgo-log/v1.0.5/v2.5.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>ipfs/go-log (github.com/ipfs/go-log)</summary>

### [`v2.5.1`](https://togithub.com/ipfs/go-log/compare/v2.5.0...v2.5.1)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.5.0...v2.5.1)

### [`v2.5.0`](https://togithub.com/ipfs/go-log/releases/tag/v2.5.0)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.4.0...v2.5.0)

#### What's Changed

- update go.uber.org/zap to v1.19.1 by
[@&#8203;marten-seemann](https://togithub.com/marten-seemann) in
[https://github.com/ipfs/go-log/pull/130](https://togithub.com/ipfs/go-log/pull/130)
- Config inspection by
[@&#8203;elijaharita](https://togithub.com/elijaharita) in
[https://github.com/ipfs/go-log/pull/129](https://togithub.com/ipfs/go-log/pull/129)

#### New Contributors

- [@&#8203;elijaharita](https://togithub.com/elijaharita) made their
first contribution in
[https://github.com/ipfs/go-log/pull/129](https://togithub.com/ipfs/go-log/pull/129)

**Full Changelog**:
ipfs/go-log@v2.4.0...v2.5.0

### [`v2.4.0`](https://togithub.com/ipfs/go-log/releases/tag/v2.4.0)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.3.0...v2.4.0)

#### What's Changed

- In addition to StdOut/Err check the outfile for TTYness by
[@&#8203;ribasushi](https://togithub.com/ribasushi) in
[https://github.com/ipfs/go-log/pull/117](https://togithub.com/ipfs/go-log/pull/117)
- Add WithStacktrace untility by
[@&#8203;Kubuxu](https://togithub.com/Kubuxu) in
[https://github.com/ipfs/go-log/pull/118](https://togithub.com/ipfs/go-log/pull/118)
- sync: update CI config files by
[@&#8203;web3-bot](https://togithub.com/web3-bot) in
[https://github.com/ipfs/go-log/pull/119](https://togithub.com/ipfs/go-log/pull/119)
- Document environment variables by
[@&#8203;Stebalien](https://togithub.com/Stebalien) in
[https://github.com/ipfs/go-log/pull/120](https://togithub.com/ipfs/go-log/pull/120)
- fix: cannot call SetPrimaryCore after using a Tee logger by
[@&#8203;moul](https://togithub.com/moul) in
[https://github.com/ipfs/go-log/pull/121](https://togithub.com/ipfs/go-log/pull/121)
- update mattn/go-isatty to v0.0.14 by
[@&#8203;marten-seemann](https://togithub.com/marten-seemann) in
[https://github.com/ipfs/go-log/pull/123](https://togithub.com/ipfs/go-log/pull/123)

#### New Contributors

- [@&#8203;moul](https://togithub.com/moul) made their first
contribution in
[https://github.com/ipfs/go-log/pull/121](https://togithub.com/ipfs/go-log/pull/121)

**Full Changelog**:
ipfs/go-log@v2.3.0...v2.4.0

### [`v2.3.0`](https://togithub.com/ipfs/go-log/releases/tag/v2.3.0)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.2.0...v2.3.0)

Features:

- Do not output ANSI-color sequences unless one of the outputs is a TTY.
- New format type `GOLOG_LOG_FMT=color` for cases when capturing color
in a file is desirable

### [`v2.2.0`](https://togithub.com/ipfs/go-log/compare/v2.1.3...v2.2.0)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.1.3...v2.2.0)

### [`v2.1.3`](https://togithub.com/ipfs/go-log/releases/tag/v2.1.3)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.1.2...v2.1.3)

Update deps.

### [`v2.1.2`](https://togithub.com/ipfs/go-log/compare/v2.1.1...v2.1.2)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.1.1...v2.1.2)

### [`v2.1.1`](https://togithub.com/ipfs/go-log/releases/tag/v2.1.1)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.1.0...v2.1.1)

This patch release fixes an issue where setting the log level of a
subsystem to anything below error at runtime wouldn't have any effect.

### [`v2.1.0`](https://togithub.com/ipfs/go-log/releases/tag/v2.1.0)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.0.8...v2.1.0)

This release:

1. Adds support for *subscribing* to log events by calling
`NewPipeReader`.
2.  Won't log to stderr if GOLOG_FILE has been specified.
3. Allows re-configuring the logging subsystem at runtime by calling
`SetupLogging`.

### [`v2.0.8`](https://togithub.com/ipfs/go-log/releases/tag/v2.0.8)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.0.7...v2.0.8)

Fixes the Warningf implementation introduced in v2.0.7 to actually skip
a level and not log error messages all over the place.

### [`v2.0.7`](https://togithub.com/ipfs/go-log/compare/v2.0.6...v2.0.7)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.0.6...v2.0.7)

### [`v2.0.6`](https://togithub.com/ipfs/go-log/releases/tag/v2.0.6)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.0.5...v2.0.6)

Add back pre-deprecated Warning and Warningf functions so this logger
can be used by libraries like badger that expect such functions.

### [`v2.0.5`](https://togithub.com/ipfs/go-log/releases/tag/v2.0.5)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.0.4...v2.0.5)

Update zap and remove unnecessary deps.

### [`v2.0.4`](https://togithub.com/ipfs/go-log/compare/v2.0.3...v2.0.4)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.0.3...v2.0.4)

### [`v2.0.3`](https://togithub.com/ipfs/go-log/compare/v2.0.2...v2.0.3)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.0.2...v2.0.3)

### [`v2.0.2`](https://togithub.com/ipfs/go-log/compare/v2.0.1...v2.0.2)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.0.1...v2.0.2)

### [`v2.0.1`](https://togithub.com/ipfs/go-log/compare/v2.0.0...v2.0.1)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.0.0...v2.0.1)

### [`v2.0.0`](https://togithub.com/ipfs/go-log/compare/v1.0.5...v2.0.0)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v1.0.5...v2.0.0)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 11pm every weekday,before 7am
every weekday,every weekend" in timezone Europe/Brussels, Automerge - At
any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/kairos-io/provider-kairos).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy45My4xIiwidXBkYXRlZEluVmVyIjoiMzcuMzAxLjQiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
github-actions bot referenced this pull request in kairos-io/provider-kairos May 1, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [github.com/ipfs/go-log](https://togithub.com/ipfs/go-log) | `v1.0.5`
-> `v2.5.1` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fipfs%2fgo-log/v2.5.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fipfs%2fgo-log/v2.5.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fipfs%2fgo-log/v1.0.5/v2.5.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fipfs%2fgo-log/v1.0.5/v2.5.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>ipfs/go-log (github.com/ipfs/go-log)</summary>

### [`v2.5.1`](https://togithub.com/ipfs/go-log/compare/v2.5.0...v2.5.1)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.5.0...v2.5.1)

### [`v2.5.0`](https://togithub.com/ipfs/go-log/releases/tag/v2.5.0)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.4.0...v2.5.0)

#### What's Changed

- update go.uber.org/zap to v1.19.1 by
[@&#8203;marten-seemann](https://togithub.com/marten-seemann) in
[https://github.com/ipfs/go-log/pull/130](https://togithub.com/ipfs/go-log/pull/130)
- Config inspection by
[@&#8203;elijaharita](https://togithub.com/elijaharita) in
[https://github.com/ipfs/go-log/pull/129](https://togithub.com/ipfs/go-log/pull/129)

#### New Contributors

- [@&#8203;elijaharita](https://togithub.com/elijaharita) made their
first contribution in
[https://github.com/ipfs/go-log/pull/129](https://togithub.com/ipfs/go-log/pull/129)

**Full Changelog**:
ipfs/go-log@v2.4.0...v2.5.0

### [`v2.4.0`](https://togithub.com/ipfs/go-log/releases/tag/v2.4.0)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.3.0...v2.4.0)

#### What's Changed

- In addition to StdOut/Err check the outfile for TTYness by
[@&#8203;ribasushi](https://togithub.com/ribasushi) in
[https://github.com/ipfs/go-log/pull/117](https://togithub.com/ipfs/go-log/pull/117)
- Add WithStacktrace untility by
[@&#8203;Kubuxu](https://togithub.com/Kubuxu) in
[https://github.com/ipfs/go-log/pull/118](https://togithub.com/ipfs/go-log/pull/118)
- sync: update CI config files by
[@&#8203;web3-bot](https://togithub.com/web3-bot) in
[https://github.com/ipfs/go-log/pull/119](https://togithub.com/ipfs/go-log/pull/119)
- Document environment variables by
[@&#8203;Stebalien](https://togithub.com/Stebalien) in
[https://github.com/ipfs/go-log/pull/120](https://togithub.com/ipfs/go-log/pull/120)
- fix: cannot call SetPrimaryCore after using a Tee logger by
[@&#8203;moul](https://togithub.com/moul) in
[https://github.com/ipfs/go-log/pull/121](https://togithub.com/ipfs/go-log/pull/121)
- update mattn/go-isatty to v0.0.14 by
[@&#8203;marten-seemann](https://togithub.com/marten-seemann) in
[https://github.com/ipfs/go-log/pull/123](https://togithub.com/ipfs/go-log/pull/123)

#### New Contributors

- [@&#8203;moul](https://togithub.com/moul) made their first
contribution in
[https://github.com/ipfs/go-log/pull/121](https://togithub.com/ipfs/go-log/pull/121)

**Full Changelog**:
ipfs/go-log@v2.3.0...v2.4.0

### [`v2.3.0`](https://togithub.com/ipfs/go-log/releases/tag/v2.3.0)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.2.0...v2.3.0)

Features:

- Do not output ANSI-color sequences unless one of the outputs is a TTY.
- New format type `GOLOG_LOG_FMT=color` for cases when capturing color
in a file is desirable

### [`v2.2.0`](https://togithub.com/ipfs/go-log/compare/v2.1.3...v2.2.0)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.1.3...v2.2.0)

### [`v2.1.3`](https://togithub.com/ipfs/go-log/releases/tag/v2.1.3)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.1.2...v2.1.3)

Update deps.

### [`v2.1.2`](https://togithub.com/ipfs/go-log/compare/v2.1.1...v2.1.2)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.1.1...v2.1.2)

### [`v2.1.1`](https://togithub.com/ipfs/go-log/releases/tag/v2.1.1)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.1.0...v2.1.1)

This patch release fixes an issue where setting the log level of a
subsystem to anything below error at runtime wouldn't have any effect.

### [`v2.1.0`](https://togithub.com/ipfs/go-log/releases/tag/v2.1.0)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.0.8...v2.1.0)

This release:

1. Adds support for *subscribing* to log events by calling
`NewPipeReader`.
2.  Won't log to stderr if GOLOG_FILE has been specified.
3. Allows re-configuring the logging subsystem at runtime by calling
`SetupLogging`.

### [`v2.0.8`](https://togithub.com/ipfs/go-log/releases/tag/v2.0.8)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.0.7...v2.0.8)

Fixes the Warningf implementation introduced in v2.0.7 to actually skip
a level and not log error messages all over the place.

### [`v2.0.7`](https://togithub.com/ipfs/go-log/compare/v2.0.6...v2.0.7)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.0.6...v2.0.7)

### [`v2.0.6`](https://togithub.com/ipfs/go-log/releases/tag/v2.0.6)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.0.5...v2.0.6)

Add back pre-deprecated Warning and Warningf functions so this logger
can be used by libraries like badger that expect such functions.

### [`v2.0.5`](https://togithub.com/ipfs/go-log/releases/tag/v2.0.5)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.0.4...v2.0.5)

Update zap and remove unnecessary deps.

### [`v2.0.4`](https://togithub.com/ipfs/go-log/compare/v2.0.3...v2.0.4)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.0.3...v2.0.4)

### [`v2.0.3`](https://togithub.com/ipfs/go-log/compare/v2.0.2...v2.0.3)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.0.2...v2.0.3)

### [`v2.0.2`](https://togithub.com/ipfs/go-log/compare/v2.0.1...v2.0.2)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.0.1...v2.0.2)

### [`v2.0.1`](https://togithub.com/ipfs/go-log/compare/v2.0.0...v2.0.1)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.0.0...v2.0.1)

### [`v2.0.0`](https://togithub.com/ipfs/go-log/compare/v1.0.5...v2.0.0)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v1.0.5...v2.0.0)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 11pm every weekday,before 7am
every weekday,every weekend" in timezone Europe/Brussels, Automerge - At
any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/kairos-io/provider-kairos).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMDEuNCIsInVwZGF0ZWRJblZlciI6IjM3LjMwMS40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
github-actions bot referenced this pull request in kairos-io/provider-kairos Jul 11, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [github.com/ipfs/go-log](https://togithub.com/ipfs/go-log) | `v1.0.5`
-> `v2.5.1` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fipfs%2fgo-log/v2.5.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fipfs%2fgo-log/v2.5.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fipfs%2fgo-log/v1.0.5/v2.5.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fipfs%2fgo-log/v1.0.5/v2.5.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>ipfs/go-log (github.com/ipfs/go-log)</summary>

### [`v2.5.1`](https://togithub.com/ipfs/go-log/compare/v2.5.0...v2.5.1)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.5.0...v2.5.1)

### [`v2.5.0`](https://togithub.com/ipfs/go-log/releases/tag/v2.5.0)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.4.0...v2.5.0)

#### What's Changed

- update go.uber.org/zap to v1.19.1 by
[@&#8203;marten-seemann](https://togithub.com/marten-seemann) in
[https://github.com/ipfs/go-log/pull/130](https://togithub.com/ipfs/go-log/pull/130)
- Config inspection by
[@&#8203;elijaharita](https://togithub.com/elijaharita) in
[https://github.com/ipfs/go-log/pull/129](https://togithub.com/ipfs/go-log/pull/129)

#### New Contributors

- [@&#8203;elijaharita](https://togithub.com/elijaharita) made their
first contribution in
[https://github.com/ipfs/go-log/pull/129](https://togithub.com/ipfs/go-log/pull/129)

**Full Changelog**:
ipfs/go-log@v2.4.0...v2.5.0

### [`v2.4.0`](https://togithub.com/ipfs/go-log/releases/tag/v2.4.0)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.3.0...v2.4.0)

#### What's Changed

- In addition to StdOut/Err check the outfile for TTYness by
[@&#8203;ribasushi](https://togithub.com/ribasushi) in
[https://github.com/ipfs/go-log/pull/117](https://togithub.com/ipfs/go-log/pull/117)
- Add WithStacktrace untility by
[@&#8203;Kubuxu](https://togithub.com/Kubuxu) in
[https://github.com/ipfs/go-log/pull/118](https://togithub.com/ipfs/go-log/pull/118)
- sync: update CI config files by
[@&#8203;web3-bot](https://togithub.com/web3-bot) in
[https://github.com/ipfs/go-log/pull/119](https://togithub.com/ipfs/go-log/pull/119)
- Document environment variables by
[@&#8203;Stebalien](https://togithub.com/Stebalien) in
[https://github.com/ipfs/go-log/pull/120](https://togithub.com/ipfs/go-log/pull/120)
- fix: cannot call SetPrimaryCore after using a Tee logger by
[@&#8203;moul](https://togithub.com/moul) in
[https://github.com/ipfs/go-log/pull/121](https://togithub.com/ipfs/go-log/pull/121)
- update mattn/go-isatty to v0.0.14 by
[@&#8203;marten-seemann](https://togithub.com/marten-seemann) in
[https://github.com/ipfs/go-log/pull/123](https://togithub.com/ipfs/go-log/pull/123)

#### New Contributors

- [@&#8203;moul](https://togithub.com/moul) made their first
contribution in
[https://github.com/ipfs/go-log/pull/121](https://togithub.com/ipfs/go-log/pull/121)

**Full Changelog**:
ipfs/go-log@v2.3.0...v2.4.0

### [`v2.3.0`](https://togithub.com/ipfs/go-log/releases/tag/v2.3.0)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.2.0...v2.3.0)

Features:

- Do not output ANSI-color sequences unless one of the outputs is a TTY.
- New format type `GOLOG_LOG_FMT=color` for cases when capturing color
in a file is desirable

### [`v2.2.0`](https://togithub.com/ipfs/go-log/compare/v2.1.3...v2.2.0)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.1.3...v2.2.0)

### [`v2.1.3`](https://togithub.com/ipfs/go-log/releases/tag/v2.1.3)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.1.2...v2.1.3)

Update deps.

### [`v2.1.2`](https://togithub.com/ipfs/go-log/compare/v2.1.1...v2.1.2)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.1.1...v2.1.2)

### [`v2.1.1`](https://togithub.com/ipfs/go-log/releases/tag/v2.1.1)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.1.0...v2.1.1)

This patch release fixes an issue where setting the log level of a
subsystem to anything below error at runtime wouldn't have any effect.

### [`v2.1.0`](https://togithub.com/ipfs/go-log/releases/tag/v2.1.0)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.0.8...v2.1.0)

This release:

1. Adds support for *subscribing* to log events by calling
`NewPipeReader`.
2.  Won't log to stderr if GOLOG_FILE has been specified.
3. Allows re-configuring the logging subsystem at runtime by calling
`SetupLogging`.

### [`v2.0.8`](https://togithub.com/ipfs/go-log/releases/tag/v2.0.8)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.0.7...v2.0.8)

Fixes the Warningf implementation introduced in v2.0.7 to actually skip
a level and not log error messages all over the place.

### [`v2.0.7`](https://togithub.com/ipfs/go-log/compare/v2.0.6...v2.0.7)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.0.6...v2.0.7)

### [`v2.0.6`](https://togithub.com/ipfs/go-log/releases/tag/v2.0.6)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.0.5...v2.0.6)

Add back pre-deprecated Warning and Warningf functions so this logger
can be used by libraries like badger that expect such functions.

### [`v2.0.5`](https://togithub.com/ipfs/go-log/releases/tag/v2.0.5)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.0.4...v2.0.5)

Update zap and remove unnecessary deps.

### [`v2.0.4`](https://togithub.com/ipfs/go-log/compare/v2.0.3...v2.0.4)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.0.3...v2.0.4)

### [`v2.0.3`](https://togithub.com/ipfs/go-log/compare/v2.0.2...v2.0.3)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.0.2...v2.0.3)

### [`v2.0.2`](https://togithub.com/ipfs/go-log/compare/v2.0.1...v2.0.2)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.0.1...v2.0.2)

### [`v2.0.1`](https://togithub.com/ipfs/go-log/compare/v2.0.0...v2.0.1)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.0.0...v2.0.1)

### [`v2.0.0`](https://togithub.com/ipfs/go-log/compare/v1.0.5...v2.0.0)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v1.0.5...v2.0.0)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 11pm every weekday,before 7am
every weekday,every weekend" in timezone Europe/Brussels, Automerge - At
any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/kairos-io/provider-kairos).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMzEuMCIsInVwZGF0ZWRJblZlciI6IjM3LjMzMS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
github-actions bot referenced this pull request in kairos-io/provider-kairos Jul 12, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [github.com/ipfs/go-log](https://togithub.com/ipfs/go-log) | `v1.0.5`
-> `v2.5.1` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fipfs%2fgo-log/v2.5.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fipfs%2fgo-log/v2.5.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fipfs%2fgo-log/v1.0.5/v2.5.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fipfs%2fgo-log/v1.0.5/v2.5.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>ipfs/go-log (github.com/ipfs/go-log)</summary>

### [`v2.5.1`](https://togithub.com/ipfs/go-log/compare/v2.5.0...v2.5.1)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.5.0...v2.5.1)

### [`v2.5.0`](https://togithub.com/ipfs/go-log/releases/tag/v2.5.0)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.4.0...v2.5.0)

#### What's Changed

- update go.uber.org/zap to v1.19.1 by
[@&#8203;marten-seemann](https://togithub.com/marten-seemann) in
[https://github.com/ipfs/go-log/pull/130](https://togithub.com/ipfs/go-log/pull/130)
- Config inspection by
[@&#8203;elijaharita](https://togithub.com/elijaharita) in
[https://github.com/ipfs/go-log/pull/129](https://togithub.com/ipfs/go-log/pull/129)

#### New Contributors

- [@&#8203;elijaharita](https://togithub.com/elijaharita) made their
first contribution in
[https://github.com/ipfs/go-log/pull/129](https://togithub.com/ipfs/go-log/pull/129)

**Full Changelog**:
ipfs/go-log@v2.4.0...v2.5.0

### [`v2.4.0`](https://togithub.com/ipfs/go-log/releases/tag/v2.4.0)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.3.0...v2.4.0)

#### What's Changed

- In addition to StdOut/Err check the outfile for TTYness by
[@&#8203;ribasushi](https://togithub.com/ribasushi) in
[https://github.com/ipfs/go-log/pull/117](https://togithub.com/ipfs/go-log/pull/117)
- Add WithStacktrace untility by
[@&#8203;Kubuxu](https://togithub.com/Kubuxu) in
[https://github.com/ipfs/go-log/pull/118](https://togithub.com/ipfs/go-log/pull/118)
- sync: update CI config files by
[@&#8203;web3-bot](https://togithub.com/web3-bot) in
[https://github.com/ipfs/go-log/pull/119](https://togithub.com/ipfs/go-log/pull/119)
- Document environment variables by
[@&#8203;Stebalien](https://togithub.com/Stebalien) in
[https://github.com/ipfs/go-log/pull/120](https://togithub.com/ipfs/go-log/pull/120)
- fix: cannot call SetPrimaryCore after using a Tee logger by
[@&#8203;moul](https://togithub.com/moul) in
[https://github.com/ipfs/go-log/pull/121](https://togithub.com/ipfs/go-log/pull/121)
- update mattn/go-isatty to v0.0.14 by
[@&#8203;marten-seemann](https://togithub.com/marten-seemann) in
[https://github.com/ipfs/go-log/pull/123](https://togithub.com/ipfs/go-log/pull/123)

#### New Contributors

- [@&#8203;moul](https://togithub.com/moul) made their first
contribution in
[https://github.com/ipfs/go-log/pull/121](https://togithub.com/ipfs/go-log/pull/121)

**Full Changelog**:
ipfs/go-log@v2.3.0...v2.4.0

### [`v2.3.0`](https://togithub.com/ipfs/go-log/releases/tag/v2.3.0)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.2.0...v2.3.0)

Features:

- Do not output ANSI-color sequences unless one of the outputs is a TTY.
- New format type `GOLOG_LOG_FMT=color` for cases when capturing color
in a file is desirable

### [`v2.2.0`](https://togithub.com/ipfs/go-log/compare/v2.1.3...v2.2.0)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.1.3...v2.2.0)

### [`v2.1.3`](https://togithub.com/ipfs/go-log/releases/tag/v2.1.3)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.1.2...v2.1.3)

Update deps.

### [`v2.1.2`](https://togithub.com/ipfs/go-log/compare/v2.1.1...v2.1.2)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.1.1...v2.1.2)

### [`v2.1.1`](https://togithub.com/ipfs/go-log/releases/tag/v2.1.1)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.1.0...v2.1.1)

This patch release fixes an issue where setting the log level of a
subsystem to anything below error at runtime wouldn't have any effect.

### [`v2.1.0`](https://togithub.com/ipfs/go-log/releases/tag/v2.1.0)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.0.8...v2.1.0)

This release:

1. Adds support for *subscribing* to log events by calling
`NewPipeReader`.
2.  Won't log to stderr if GOLOG_FILE has been specified.
3. Allows re-configuring the logging subsystem at runtime by calling
`SetupLogging`.

### [`v2.0.8`](https://togithub.com/ipfs/go-log/releases/tag/v2.0.8)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.0.7...v2.0.8)

Fixes the Warningf implementation introduced in v2.0.7 to actually skip
a level and not log error messages all over the place.

### [`v2.0.7`](https://togithub.com/ipfs/go-log/compare/v2.0.6...v2.0.7)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.0.6...v2.0.7)

### [`v2.0.6`](https://togithub.com/ipfs/go-log/releases/tag/v2.0.6)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.0.5...v2.0.6)

Add back pre-deprecated Warning and Warningf functions so this logger
can be used by libraries like badger that expect such functions.

### [`v2.0.5`](https://togithub.com/ipfs/go-log/releases/tag/v2.0.5)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.0.4...v2.0.5)

Update zap and remove unnecessary deps.

### [`v2.0.4`](https://togithub.com/ipfs/go-log/compare/v2.0.3...v2.0.4)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.0.3...v2.0.4)

### [`v2.0.3`](https://togithub.com/ipfs/go-log/compare/v2.0.2...v2.0.3)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.0.2...v2.0.3)

### [`v2.0.2`](https://togithub.com/ipfs/go-log/compare/v2.0.1...v2.0.2)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.0.1...v2.0.2)

### [`v2.0.1`](https://togithub.com/ipfs/go-log/compare/v2.0.0...v2.0.1)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v2.0.0...v2.0.1)

### [`v2.0.0`](https://togithub.com/ipfs/go-log/compare/v1.0.5...v2.0.0)

[Compare
Source](https://togithub.com/ipfs/go-log/compare/v1.0.5...v2.0.0)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 11pm every weekday,before 7am
every weekday,every weekend" in timezone Europe/Brussels, Automerge - At
any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/kairos-io/provider-kairos).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjUuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants