1
0
mirror of https://github.com/osmarks/ngircd.git synced 2024-12-12 01:40:27 +00:00

contrib/nglog.sh: Use bright colors for warning & error messages

This commit is contained in:
Alexander Barton 2019-12-07 01:42:33 +01:00
parent b03fcaab5a
commit 1f69f1d0ab

View File

@ -15,11 +15,11 @@
# #
awk ' awk '
/^\[[[:digit:]]+:0 / {print "\033[95m" $0 "\033[0m"} /^\[[[:digit:]]+:0 / {print "\033[1;95m" $0 "\033[0m"}
/^\[[[:digit:]]+:1 / {print "\033[35m" $0 "\033[0m"} /^\[[[:digit:]]+:1 / {print "\033[1;35m" $0 "\033[0m"}
/^\[[[:digit:]]+:2 / {print "\033[91m" $0 "\033[0m"} /^\[[[:digit:]]+:2 / {print "\033[1;91m" $0 "\033[0m"}
/^\[[[:digit:]]+:3 / {print "\033[31m" $0 "\033[0m"} /^\[[[:digit:]]+:3 / {print "\033[1;31m" $0 "\033[0m"}
/^\[[[:digit:]]+:4 / {print "\033[33m" $0 "\033[0m"} /^\[[[:digit:]]+:4 / {print "\033[1;33m" $0 "\033[0m"}
/^\[[[:digit:]]+:5 / {print "\033[1m" $0 "\033[0m"} /^\[[[:digit:]]+:5 / {print "\033[1m" $0 "\033[0m"}
/^\[[[:digit:]]+:6 / {print $0} /^\[[[:digit:]]+:6 / {print $0}
/^\[[[:digit:]]+:7 / {print "\033[90m" $0 "\033[0m"} /^\[[[:digit:]]+:7 / {print "\033[90m" $0 "\033[0m"}