Skip to content

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

@shaderkill

Description

@shaderkill

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions