kataras / kataras/iris

[BUG] Compilation fails due to a breaking change introduced in `github.com/kataras/golog`

Open
#2,592 2 comments 0 reactions 1 assignee Claimed by @kataras View on GitHub
Dominant language
Go
Stars
25.6k
Forks
2.4k
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
Compilation fails due to a breaking change introduced in `github.com/kataras/golog` version `v0.1.15`. The error occurs in the `handler_debug.go` file of the Iris framework when attempting to use `debugLevel.Style` as an argument to `pio.WriteRich`.

**To Reproduce**
Steps to reproduce the behavior:
1. Use `github.com/kataras/golog` version `v0.1.15` in your project.
2. Attempt to compile a project using `github.com/kataras/iris/v12@v12.2.11`.
3. Observe the compilation error.

**Expected behavior**
The project should compile successfully without type mismatch errors between `printer.RichOption` and `pio.RichOption`.

**Screenshots**
Not applicable.

**Desktop (please complete the following information):**
- OS: [e.g. Windows 10, Ubuntu 22.04]

**iris.Version**
- v12.2.11

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.