sirupsen / logrus

Structured, pluggable logging for Go.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How can I hide the keys in the output?

krutztq opened this issue · comments

I am using github.com/sirupsen/logrus v1.8.1 and want to write a custom logfile. The current output is:
time="Wed, 16 Feb 2022 15:12:22 UTC" level="info" msg="test message"

How can I reduce the output to the following?
Wed, 16 Feb 2022 15:12:22 UTC info test message

This issue is stale because it has been open for 30 days with no activity.

I'm having the same problem
have you found a solution yet?

No, as this issue is a imperfection I use it as it is.

This issue is stale because it has been open for 30 days with no activity.

This issue was closed because it has been inactive for 14 days since being marked as stale.