You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I am trying to use the oops library to do "pretty error logging", basically. The wrapped error (oops.Wrap(err)) is displayed abnormally because certain sequences (\t and \r) are not printed as expected.
Setup
Please complete the following information along with version numbers, if applicable.
OS Windows
Shell Powershell
Terminal Emulator Windows Terminal
Terminal Multiplexer None
Note: you might encounter rendering issues if your locale does not use UTF-8 encoding. Please check your locale (locale on POSIX systems) to
see what encoding is being used by your system.
Describe the bug
I am trying to use the oops library to do "pretty error logging", basically. The wrapped error (
oops.Wrap(err)
) is displayed abnormally because certain sequences (\t
and\r
) are not printed as expected.Setup
Please complete the following information along with version numbers, if applicable.
Note: you might encounter rendering issues if your locale does not use
UTF-8
encoding. Please check your locale (locale
on POSIX systems) tosee what encoding is being used by your system.
To Reproduce
Steps to reproduce the behavior:
oops.Wrap(err)
Source Code
(There is another issue where my config isn't parsed correctly - but that's a different issue.)
Expected behavior
I expected to get my source fragment to be printed properly.
Screenshots
Additional context
oops: https://github.com/samber/oops
Viper (config loader): https://github.com/spf13/viper
Logger initialization:
The text was updated successfully, but these errors were encountered: