Skip to content
This repository has been archived by the owner on Feb 21, 2023. It is now read-only.

Allow configurable log format #2

Closed
efritz opened this issue Sep 22, 2015 · 0 comments
Closed

Allow configurable log format #2

efritz opened this issue Sep 22, 2015 · 0 comments

Comments

@efritz
Copy link
Contributor

efritz commented Sep 22, 2015

Loggers which write to free-form out (standard out, files, etc) should be configurable. Right now there's no timestamp displayed on console output.

It would also be nice if you could adjust which part of the log message is colorized (instead of the entire thing). Go-logging does this by replacing log strings based on patterns. For example:

%{file} %{time} [%{level:8}] %{message}

It would be nice to also specify only part of the message should be colorized (for example the level instead of the entire line). Having the entire line colorized makes it a bit hard to read.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant