[Rpm-maint] [rpm-software-management/rpm] Colorized rpmlog() output (jbj, #198) (#225)
notifications at github.com
Fri Jun 2 18:10:32 UTC 2017
proyvind commented on this pull request.
> @@ -237,6 +237,89 @@ const char * rpmlogLevelPrefix(rpmlogLvl pri)
+static const char * rpmlogLevelColor(rpmlogLvl pri)
+ return rpmlogMsgPrefixColor[pri&0x7];
+static int rpmlogDefault(FILE *stdlog, rpmlogRec rec)
+ static const char fubar =
+ "Error occurred during writing of a log message";
+ FILE *msgout = (stdlog ? stdlog : stderr);
+ const char * colorOn = isatty(fileno(msgout))
which he already did, I now notice :p
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Rpm-maint