XPost: linux.debian.devel
Copy:
dswarbrick@debian.org (Daniel Swarbrick)
Copy:
1067187@bugs.debian.org
journalctl does this, assuming that the journald or syslog protocols are used.
If stdout is used to log everything then it won't work.
Personally I prefer when software uses syslog, then I can filter by severity directly, and the colours work too, of course.
journald protocol lets software define arbitrary keys and values.
Just a suggestion.
In data marted́ 19 marzo 2024 21:08:31 CET, Daniel Swarbrick ha scritto:
Package: wnpp
Severity: wishlist
Owner: Daniel Swarbrick <dswarbrick@debian.org>
X-Debbugs-Cc: debian-devel@lists.debian.org
* Package name : golang-github-lmittmann-tint
Version : 1.0.4
Upstream Contact: lmittmann <gh@mittmann.dev>
* URL : https://github.com/lmittmann/tint
* License : Expat
Programming Lang: Go
Description : slog.Handler that writes tinted (colorized) logs
tint implements a zero-dependency slog.Handler that writes tinted
(colorized) logs. Its output format is inspired by the
zerolog.ConsoleWriter and slog.TextHandler.
I am packaging this primarily for my own selfish reasons, however I can
see it being useful to other Go packages which may wish to import it in future. I will maintain it as a member of the Debian Go Packaging team.
--
Salvo Tomaselli
"Io non mi sento obbligato a credere che lo stesso Dio che ci ha dotato di senso, ragione ed intelletto intendesse che noi ne facessimo a meno."
-- Galileo Galilei
https://ltworf.codeberg.page/
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEQnSLnnbYmXmeH74Us6fPDIAYhs8FAmX7ceUACgkQs6fPDIAY hs/dRw//Q1nJP7qtVd+qHFKr8LgPpcgkgSl3JBmcF8qaiXUBLVXVLpgPM7h9ENh7 aAIa1c42pbBe3Gf+eNmPX8hzUIwvVdBEjUfLi1wX5ebDEcfhaEBFH+IDKIrAnBxd 3FNcJhUVKsL9U8RMI0cGrVHt4oiwjXP9FFxL2Meg9HeAAaTZZIfHQ6RRzadcgv23 iEKk7DDOu92yqSJZhNpdrOM+xFkzm/AQAZNO5LqY4QUgPHTwWslNfoRzxsj7ak4J vLeOCxCXrcI4Rm0LyBrF/8sX0L6RbJho8ES72Vjnk5FLY72Fe0/1qRc+NNpTiIJL FrJqRt3S/YV7ZsRoxk3ydZAAKAkWsyD2c91WIzbyhCocCQdoGWq5V5INbruan2y3 j/u5fGk7QbU1bNzznmhbunYUTQWW/UOnHPBnEd8OzR43CUK5alapE4vckUyb8aGI HP1U5DNCsbEKFk/ebY37eFmORhG+HX+Yv5kk0BYJxX4IUo1VVlrVjCC0LKEQ8sE/ XL2CWK7RbZ/54QkOVY6xkC4eoCZMzhSLUAeD2v4306cnPVhmpndHD2G8aUD4+kLg SFRoPsicjm4weiuxRy0KA6SNGPHfEx6OWo4wBg+a6NDMJuRmf9ALkXcpnjojZRnA nfzcwGsJEFNn7eYPzhEZl+CMY