diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-02-09 20:44:25 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-02-09 20:44:25 +0000 |
commit | 67976608ff1afff71e46a72b3d0c2dca800292e1 (patch) | |
tree | 433f0098616bc504951eaea473f95e154a912817 | |
parent | bfff1d9d93dccb9f0080b84d3933d47f2a6a1f6c (diff) |
Warnings yellow, errors red. This will help us pick errors out from warnings in the output
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8864 e03df62e-2008-0410-955e-edbf42e46eb7
-rwxr-xr-x | run-cc.pl | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -25,6 +25,16 @@ my @msgfilters = ( } die $errstr; } ], + + [ qr/^.* warning: / => sub { + my ($msg) = @_; + print STDERR "\e[33;1m$msg\e[0m\n"; + } ], + + [ qr/^.* error: / => sub { + my ($msg) = @_; + print STDERR "\e[31;1m$msg\e[0m\n"; + } ], ); my $pid; |